Solved

Need class wrapper for COleDispatchDriver derived class from VB COM DLL (C++ unmanaged)

Posted on 2007-11-28
4
663 Views
Last Modified: 2013-12-14
Is there a assistent in Visual Studio 2003 to create a class wrapper for a VB COM DLL?

If yes, how is it used?

I have a VC6 environment available as well.

Regards, Alex
0
Comment
Question by:itsmeandnobodyelse
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
alb66 earned 350 total points
Comment Utility
Add the Visual Basic control  using Component Gallery. Do this by going to the Project menu, select Add Components and Controls, and then selecting Registered ActiveX Controls.
After you select the Visual Basic control and click OK, Component Gallery presents the Confirm Classes dialog. Click OK on the Confirm Classes dialog box to generate the wrapper code.
0
 
LVL 40

Assisted Solution

by:evilrix
evilrix earned 150 total points
Comment Utility
It seems this may provide the answer you seek: -

http://www.experts-exchange.com/Programming/Languages/CPP/Q_20666266.html
0
 
LVL 39

Author Comment

by:itsmeandnobodyelse
Comment Utility
I used the VC6 class wizard in the meantime (same as in the link evilrix posted).

But the 'Add Components...' in VS2003 worked correctly and integrated the new class to my MFC project.

Thanks both for your solutions.

Regards, Alex
0
 
LVL 40

Expert Comment

by:evilrix
Comment Utility
Very welcome.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now