|
-
Mar 15th, 2001, 05:17 AM
#1
Thread Starter
New Member
Does anyone know how to pass a string from a C application to an activex DLL written in VB? - I have managed to pass strings accross and display them in the VB activex DLL, but I need to be able to modify the value in the DLL and have the change reflected in the original variable in the C application. (ie) I want to pass the string byRef, not byVal.
When I try, I just get ???????? turn up as the message in the VB DLL.
If anyone knows how to do this, please let me know and ideally, include a couple lines of example code on the 'C' side of it. - I am getting more and more frustrated with trying to understand all these different string types that are required within C to do this. (eg) char, bstr_t and BSTR.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|