VB to C manipulation
-
hi, i am passing a array of string from VB to VC++ DLL's. i am not able to manipulate with the the argumets received inside the DLL. i pass the string arry "by ref" from VB to VC++ i receive it in a char** in the VC++ when i move the pointer location an illegal operation error occurs .
-
hi, i am passing a array of string from VB to VC++ DLL's. i am not able to manipulate with the the argumets received inside the DLL. i pass the string arry "by ref" from VB to VC++ i receive it in a char** in the VC++ when i move the pointer location an illegal operation error occurs .
Its been a while since I worked with VB -> C++ dlls, but I think you need to pass ByVal because of the way that strings (COM VT_BSTR's) are handled. Not sure on array's of them, but I remember this for regular strings. James Sonork ID: 100.11138 - Hasaki and a digital cookie (not chocolate chip, its computer chip) goes to whoever can be the first to tell me what Hasaki means. I know someone registered on here can tell me :)