• Advertisement


This topic is now archived and is closed to further replies.

16-bit thunk functions...

This topic is 5208 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I''ve a quick question in regards to the Windows 16-bit thunk functions (i.e. LoadLibraryEx32W, CallProcEx32W, GetProcAddress32W) which are used to call functions from a 32-bit DLL in 16-bit code. The problem is that I can''t seem to find the proper link library with the definitions for these functions, and so I cannot link my application. I know I could bypass all this by compiling a 32-bit application, but that is not an option in my situation (my employer only wants me to update some old code, not port it). I''ve googled for this and found nothing, and MSDN only tells me that I need to include wownt16.h, which I already knew. If anyone has used these functions before, I would appreciate any guidance in this matter. Regards, David

Share this post

Link to post
Share on other sites
From MSDN....

NOTE: When linking the Windows-based application, you need to put the following statements in the .DEF file, indicating that the functions will be imported from the WOW kernel:



  • Advertisement