?
Solved

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

Posted on 2007-11-28
4
Medium Priority
?
682 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
alb66 earned 1400 total points
ID: 20365056
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 600 total points
ID: 20365072
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
ID: 20365350
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
ID: 20365380
Very welcome.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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.
Suggested Courses

777 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