Solved

DLL Help

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

746 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

12 Experts available now in Live!

Get 1:1 Help Now