Post

 Resources 

Console


RE: can u use a VB dll in a C++ project? Torsten Damberg (2 replies, 0 views) (2000-May-29)
-
Yes, of course you can. Here we go: 1. Just build your VB ActiveX-DLL and register it. 2. Make a new VC++ project and add the following to your "StdAfx.h": #import "MyVBDLL.dll" 3. If you have VC++ 6.0 then there should be a file called "MyVBDLL.tlh" in your project directory (if you don't have 6.0 then I think you have to compile it once) 4. Use the COM-Smart-Pointers from the tlh file and evereythink will be fine. But you must redistribute the VB Runtime DLLs with your VC project, otherwise the VB DLL won't work. I hope you know how to handle Smart-Pointers. If not, read the MSDN or the VC manuals. Bye Torsten


-
Up One Level | Back to Forum

RE: can u use a VB dll in a C++ project? Torsten Damberg (1 reply) (2000-May-29)
RE: can u use a VB dll in a C++ project? NetArc (0 replies) (2000-May-29)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 43 visitors within the last 20 minutes
RSS News Feed