Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DLL Help

Posted on 2002-07-23
4
Medium Priority
?
261 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
[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
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

705 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