|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I declare a string and pass it from a Visual Basic GUI to a C++ DLL?
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. |
|
#2
|
||||
|
||||
|
try declaring the string as Variant in the VB code. then, in theory, the conversion
should be made automatically according to what your dll function expects. |
|
#3
|
||||
|
||||
|
I once did this, but for the life of me, can't remember how i did it.
It was about 5 or six years ago. Fortunately, I still have the files. Let me know if you'd like to see them. It's a small sample ![]()
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > How do I declare a string and pass it from a Visual Basic GUI to a C++ DLL? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|