Calling a 16 bit DLL from Win32
Posted on 1998-01-13
I need to call a 16 bit DLL from a Win32 DLL. To my knowledge, I can't use any of Microsoft's thunk mechanisms, because they either work in the wrong direction or they don't work under Windows NT. I suppose I could write a 16 bit application wrapper for the DLL, and have my Win32 app communicate with said wrapper, but I'd like to avoid the mess involved there. Can anyone offer a better (cleaner) suggestion? It would seem that I want something that works like a generic thunk, but in the opposite direction.