Calling a 16 bit DLL from a 32 bit
Posted on 1997-09-09
I am trying to call a 16 bit DLL from 32 bit Appication. I have read the HELP pages in Win32 SDK. As instructed I have created two objs using the thunk compiler and MSDN assembler. Now I am having a problem in linking the objs to the 32 bit DLL and 16 bit DLL.
I created a project file for 32 bit DLL in MS Developer Studio Ver 4.2 in Windows 95 and 16 bit DLL in MS VC++ Ver 1.5 in Windows 3.11. The HELP pages says you have to add EXPORT thk_ThunkData32 in the def files for 32 bit DLL. But when I Build it , it fails to Link exactly that place. The same happens in 16 bit DLL.