Calling 16 bit DLL's in VB5 ENV(32 bit) 
Author Message
 Calling 16 bit DLL's in VB5 ENV(32 bit)

How can we call 16 bit DLL's in VB5(32 bit)


Sun, 11 Mar 2001 03:00:00 GMT  
 Calling 16 bit DLL's in VB5 ENV(32 bit)
With enormous difficulty. It's next to impossible IMHO: I looked into it
and gave up. You could create a 16-bit Automation server (in VB4 for
example) that calls the DLL(s) on behalf of the VB5 prog, but performance
would really suck. The only good answer is replace/rewrite the DLLs in
question.

Andy.


Quote:
> How can we call 16 bit DLL's in VB5(32 bit)



Sun, 11 Mar 2001 03:00:00 GMT  
 Calling 16 bit DLL's in VB5 ENV(32 bit)
If you know C++ you can thunk them and wrap it in an OCX wrapper.  Don't
think there's an automatic way to do this...
Quote:

>How can we call 16 bit DLL's in VB5(32 bit)



Sun, 11 Mar 2001 03:00:00 GMT  
 Calling 16 bit DLL's in VB5 ENV(32 bit)

Quote:

> You could create a 16-bit Automation server (in VB4 for
> example) that calls the DLL(s) on behalf of the VB5 prog,


> > How can we call 16 bit DLL's in VB5(32 bit)

--

I have a good article on how to do this. BTW, this is the official way
to do it
and is guaranteed to work. It is not a unreliable kludge. It is involved
and
compromises performance somewhat. Ultimately, someday, you would need to
re-write
the DLLs. (Ofcourse, if you do not have the source to those DLLs...)

Tell me if you are interested and I will post the article.

MikeC
Please reply to the group.



Sun, 11 Mar 2001 03:00:00 GMT  
 Calling 16 bit DLL's in VB5 ENV(32 bit)
Plz post!!!
Quote:


>> You could create a 16-bit Automation server (in VB4 for
>> example) that calls the DLL(s) on behalf of the VB5 prog,


>> > How can we call 16 bit DLL's in VB5(32 bit)

>--

>I have a good article on how to do this. BTW, this is the official way
>to do it
>and is guaranteed to work. It is not a unreliable kludge. It is involved
>and
>compromises performance somewhat. Ultimately, someday, you would need to
>re-write
>the DLLs. (Ofcourse, if you do not have the source to those DLLs...)

>Tell me if you are interested and I will post the article.

>MikeC
>Please reply to the group.



Mon, 12 Mar 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

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

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

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

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

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

6. Calling 16 bit DLL from 32 bit app

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

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

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

10. 32 Bit Program to call 16 Bit DLL

11. Callingl a 16-bit DLL from VB5 or 6 (32-Bit)

12. Using 16-bit dll's in 32-bit VB

 

 
Powered by phpBB® Forum Software