Calling 16 bit DLL from 32 bit app 
Author Message
 Calling 16 bit DLL from 32 bit app

Is there anything special I need to do to call a 16 bit dll from a 32 bit VB
app?  Specifically, I'm trying to call the opensound() function
within SOUND.DRV, which I believe is 16 bit, and it tells me Runtime Error 48
(Error in loading DLL).  Do I need to register 16 bit DLLs in the registry in
order to use them?  

Thanks,
Steve Probst



Fri, 02 Apr 1999 03:00:00 GMT  
 Calling 16 bit DLL from 32 bit app



Quote:
>Is there anything special I need to do to call a 16 bit dll from a 32 bit VB
>app?  Specifically, I'm trying to call the opensound() function
>within SOUND.DRV, which I believe is 16 bit, and it tells me Runtime Error 48
>(Error in loading DLL).  Do I need to register 16 bit DLLs in the registry in
>order to use them?  

>Thanks,
>Steve Probst

You got to Thunk it..basically a DLL that communicates between the 16
bit dll and the 32 bit windows code.  VBPJ had a great artical on it
about 3 or 4 months ago.


Wed, 07 Apr 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Thunking, 16-bit app calls 32-bit DLL???

2. Need help calling 16-bit app from 32-bit app

3. Calling 16 bit DLL's in VB5 ENV(32 bit)

4. calling a 16-bit dll from VB 32-bit

5. Need to write 32-bit DLL to do 16-bit calls to a software interrupt

6. calling a 16-bit dll from a 32-bit application

7. How to call a 16-bit dll in a 32-bit application

8. Can VB4.0 32 Bit call a 16 bit DLL

9. Calling 32-bit DLLs from 16-bit-Applications

10. 16 bit dll's in VB5.0 (32 bit) apps

11. 32 Bit Program to call 16 Bit DLL

12. Calling 32-bit DLL function from 32-bit VB4 app

 

 
Powered by phpBB® Forum Software