As API functions have been declared without parameters, e.g.
! LoadLibraryW
there is no way to call the "W" functions using string literals.
Therefore, I can't use
sys hLib = LoadLibraryW("NtDll.dll")
but have to use
dim wszLib as asciiz2 * 260 = "NtDll.dll"
sys hLib = LoadLibraryW(wszLib)
which is a pain in the ass for somebody like me that, like Windows, only uses unicode.
Is there an already solution that I don't know?
If not, may I suggest to use the "L" prefix like in C?
sys hLib = LoadLibraryW(L"NtDll.dll")