HOWTO? Calling VB DLL from C++ DLL 
Author Message
 HOWTO? Calling VB DLL from C++ DLL

This is all managed code, and wanting to avoid COM.  I would think perhaps
something like...

#using "PPSLibNET.dll" // VB DLL
using namespace ODP::PPS::PPSLib

Note: the objects of both DLLs are in the same namespace. The classes of VB
DLL simply are not seen either in intellisense, or compilation.

Is it even possible to do?

TIA - Best regards, Lee Gillie



Sat, 26 Nov 2005 22:54:37 GMT  
 HOWTO? Calling VB DLL from C++ DLL
The answer was found to be that the VB dll could not be in the same
namespace as the VC++ dll.  I tweaked the VB project namespace, and then the
C++ compilation would work (but not intellisense) which is good enough.
Thanks to those who may have taken time to puzzle on this.

Best regards - Lee



Sun, 27 Nov 2005 03:49:55 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. call a VB COM dll thru a C++ COM dll from a C program

2. call a VB COM dll thru a C++ COM dll from a C program

3. Howto make a dll in VC++ 6 to be used in VB 6 and VB .Net

4. Howto make a dll in VC++ 6 to be used in VB 6 and VB .Net

5. Howto make a dll in VC++ 6 to be used in VB 6 and VB .Net

6. values do not reach the dll in a dll-call of VB

7. Creating c dll calling vb ActiveX dll

8. values do not reach the dll in a dll-call of VB

9. Bad DLL calling convention in my MFC (for VB) DLL

10. Debugging C++ DLL which is called from VB

11. Instability when calling a C++ DLL from VB.NET

12. Calling VB DLLs from VC/C++

 

 
Powered by phpBB® Forum Software