Hi all !
I'm trying to call the CreateFile function of kernel32.dll from a 16-bit program (written in BPW 7.0), using the [b]thunk functions[/b] of the 16-bit kernel (LoadLibraryEx32W, FreeLibrary32W, GetProcAddress32W, GetVDMPointer32W and CallProc32W).
Under Windows NT 4.0 (SP6) and Windows 2000 Pro (SP4) I get an access violation error in NTDLL.DLL.
I've verified all the parameters and I've converted all 16:16 pointers to linear addresses : it still doesn't work.
It's the first time I get an error with the thunk functions.
Could someone explain me what's wrong ?