Try using a CString as the parameter. CStrings are converted to BSTR (an automation type) in the .odl file of an ActiveX control. Visual Basic should know how to handle a BSTR.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: OCX return a string value to VBThreaded View
|
Click Here to Expand Forum to Full Width |