Calling 16 bit Dll from 32 bit program 
Author Message
 Calling 16 bit Dll from 32 bit program

Hello to everybody,

How  do I call a 16 bit Dll from a 32 bit application?

If I call it by 'LoadLibrary' the Return Handle is 0.

Thank in advance

Gal and Ronit



Thu, 04 Nov 1999 03:00:00 GMT  
 Calling 16 bit Dll from 32 bit program

Quote:

> Hello to everybody,

> How  do I call a 16 bit Dll from a 32 bit application?

Welcome to the wide and wonderful world of thunking.  If you have a copy
of Microsofts MSDN handy look up something called thunking.  Thunking is
a technique of using a 16-bit DLL in Win32 land.  Try it you'll like it
:)
Quote:
> If I call it by 'LoadLibrary' the Return Handle is 0.

> Thank in advance

> Gal and Ronit



Thu, 04 Nov 1999 03:00:00 GMT  
 Calling 16 bit Dll from 32 bit program

Quote:
> How  do I call a 16 bit Dll from a 32 bit application?
> If I call it by 'LoadLibrary' the Return Handle is 0.

Have a look at my unoffical Win32 programming FAQ at
http://www.web-span.com/pjohnson/. At the moment there isn't a lot of
detail on this topic but it does give you the idea of where to go looking.
I hope to be adding some specific code examples for this problem in the
next few weeks.


Fri, 05 Nov 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. thunking (calling 16 bit dll's from 32 bit app)

2. Using a 32 bit DLL in a 16 bit BPW application

3. Using 32 bit DLL in 16 bit BPW application

4. Convert 32 bit component to 16 bit ??

5. BDE 32-bit & 16-bit

6. 16 bit ODBC drivers in the 32 bit environment

7. 32 bit bde with 16 bit odbc

8. CRC 16-bit and 32-bit

9. Delphi/BDE 16 bit VS 32 bit

10. Upgrade 16-bit application to 32-bit

11. Upgrade 16-bit application to 32-bit

12. 16-bit to 32-bit

 

 
Powered by phpBB® Forum Software