How do I declare a string and pass it from a Visual Basic GUI to a C++ DLL?

Athono

Member
Joined
Jan 10, 2006
Messages
5
Programming Experience
Beginner
How do I declare a string and pass it from a Visual Basic GUI to a C++ DLL?

Now I am debugging successfully. I can debug either on the Visual Basic end or I can debug on the C++ side by using the DLL's project file and declaring the compiled VB code as the launching executable. I have narrowed the problem down to the way that I am declaring and passiing the string variables.
 
On a second thought, we pass regular strings from vb.net to C libraries all the time, perhaps you better search for a C++ solution...
 
Back
Top