DLL Help

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!
Who is Participating?
jkrConnect With a Mentor Commented:
Have you tried

#import "MyDll.dll"


This will generate the header files you are looking for.
alkakiosAuthor Commented:
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?
>>does it work for activex dlls?

Yes, it should. At least if they implement the ITypeInfo interface (which VB DLLs AFAIK do).
alkakiosAuthor Commented:
Ok, thanks a lot jkr.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.