Solved

DLL Help

Posted on 2002-07-23
4
227 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 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…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

910 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

23 Experts available now in Live!

Get 1:1 Help Now