William Dicks
May 17th, 1999, 08:58 AM
I am writing a 32-bit system using VC++ 6 that needs to call functions in 32-bit DLLs as well as 16-bit DLLs. I know that I can write a thunk script, compile it using a Thunk compiler and then use MASM to assemble the results from the thunk compiler. The only problem is that I do not have a thunk compiler (Thunk.exe) and I do not have MASM either.
I have read about using the undocumented function QT_Thunk in Windows 95 (found in Kernel32.dll), which can be used to do thunking without using the round about route mentioned above. The only problem is that I am working on Windows NT and I could not find QT_Thunk in kernel32.dll. Is there perhaps an equivalent function in NT?
Any other possible ideas of calling a 16-bit DLL from 32-bit code?
William Dicks
***
"Delaying decisions" is too often a euphemism for
"avoiding thinking."
- Bjarne Stroustrup
I have read about using the undocumented function QT_Thunk in Windows 95 (found in Kernel32.dll), which can be used to do thunking without using the round about route mentioned above. The only problem is that I am working on Windows NT and I could not find QT_Thunk in kernel32.dll. Is there perhaps an equivalent function in NT?
Any other possible ideas of calling a 16-bit DLL from 32-bit code?
William Dicks
***
"Delaying decisions" is too often a euphemism for
"avoiding thinking."
- Bjarne Stroustrup