Solved

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

Posted on 2007-11-28
4
679 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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp.net figure out error 3 45
SSIS GUID Variable 2 57
vb.net application has warrnings about VB6 calls. 2 45
Error in Visual Project 10 48
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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

734 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