I'm embarassed to be asking this Q but here goes:
I have an ActiveX control which defines a method (TheString) to return a string (BSTR). It sounds simple, but I can never get it to return the proper string or avoid an exception error. Here is what I have: (I've also tried it with BSTR ...SysAlloc... with the same failure).
The control sits on a VB form. The string returned always looks like "???"
I am running this under Win 98.
lstrcpy (szMyString, ">BKM>DR PC"); USES_CONVERSION;
catch (_com_error &e)