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
Solved

DLL Help

Posted on 2002-07-23
4
242 Views
Last Modified: 2010-04-01
Hi everyone, I have this DLL problem:
Ive made an ActiveX DLL in VB6 which contains several classes. Is there a way to load it from VC++6? It also contains a form. If there is no direct way, how can I make a wrapper? I would need a header containing the classes possibly, but what about the form and the whole ActiveX DLL format?
Please, this is urgent!
0
Comment
Question by:alkakios
  • 2
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 7171795
Have you tried

#import "MyDll.dll"

?

This will generate the header files you are looking for.
0
 

Author Comment

by:alkakios
ID: 7171979
does it work for activex dlls? I dont have VC++ right now, im on my laptop, I will try it when i get home. But do you have any other solutions if that fails?
0
 
LVL 86

Expert Comment

by:jkr
ID: 7172688
>>does it work for activex dlls?

Yes, it should. At least if they implement the ITypeInfo interface (which VB DLLs AFAIK do).
0
 

Author Comment

by:alkakios
ID: 7177853
Ok, thanks a lot jkr.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

840 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