how to use VB 6 dll in VC++ 6

  • Thread starter Thread starter Ashutosh
  • Start date Start date
A

Ashutosh

Hi
I have a ActiveX DLL written in VB 6, the dll has two classes. I have to use
these classes in a VC 6.0 or VC +.NET 2003 unmanaged project.

In VC 6.0 I have no idea as how to use it..

In VC++ .NET 2003, I can add the reference to the VB dll, but i can't use
it. Please help me with the syntax.

Regards,
Ashutosh
 
VB6 produces COM Servers. To use these in VC++, you have to create a COM
Client. The #import directive can be quite useful that task.

Marcus
 
Hi Ashutosh,

Please also chech the reply in the vc.language newsgroup's thread. One MVP
provided his suggestion there.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top