Solved

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

Posted on 2007-11-28
4
681 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 350 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 150 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

707 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