Ive made an ActiveX dll in VB6 which contains several classes. Is there a way to use it from VC++ 6? There is no lib file. Please help.
Ive made an ActiveX dll in VB6 which contains several classes. Is there a way to use it from VC++ 6? There is no lib file. Please help.
Y3K Network http://www.y3knetwork.com
Bringing the software of the future on the net.
Anybody? I was mistaken, of course there is a lib, I didnt see it. Any ideas?
Y3K Network http://www.y3knetwork.com
Bringing the software of the future on the net.
Nope, no way that I know of besides rewriting the classes for VC++.
I think the problem is caused by VC++'s DLL name-mangling algorithm.
Compilers: MSVC++ 6.0, Dev-C++ 4.0, DJGPP
Operating System: Windows 98
there is certainly a way. it requires working in COM in a lower level though. It will take a lot more work. Name mangling is an issue that was specifically dealt with in COM and actually one of the major reasons for the architecture in the first place.
As to the way it must be done, that would take a lot of explaining and your best bet is to get a book called "Essential COM" that will explain it. I can't do it in a message board thread even if I had full understanding of it.
Someone told me about an #import directive. It is supposed to load activex dlls too, but im not sure and I dont want to spend many hours of testing it. Is anybody sure that it works?
Y3K Network http://www.y3knetwork.com
Bringing the software of the future on the net.