Dear All,
Now I'm trying to receive the string return value from DLL to VBA.
"C-DLL code "
Please Login or Register to view this content.
and the below is the VBA code
when I ran above code, I've got receive well the d1 and d2 data but the problem is that "s" I can't get it.Please Login or Register to view this content.
Is it possible to directly return the resulting string from the DLL? Or is there any other way to dynamically allocate a string object depending on the length of the result and return it to a VB caller?
I tried different approaches, for example like this (ugly, just examples), but I can't get exactly the string value what I want.
Bookmarks