Click to See Complete Forum and Search --> : Call a VB ActiveX DLL from C++


Qing Zhang
August 21st, 2001, 06:17 PM
I need to call a VB function in an ActiveX DLL from C++ code and return a string. (I am not calling C++ DLL from VB, but a VB DLL from C++). I have difficulty to do that. I know how to return an integer, but I need string and array of integers.
I really appreciate someone can give me a help. THank you in advance.

Suzanne Morris
September 27th, 2001, 03:53 PM
Hi,
Sorry, I can't help you. I, too, am trying to pass a dll. But, what I need is to pass a VB dll, with a variable that has been redimed, to a C program.
Maybe, someone can answer both of our questions.
Thanks in advance for any help from anyone out there.
smorris

urosk
September 28th, 2001, 04:43 AM
Try this,
http://www.codeproject.com/dll/vbactivexwithvc.asp