XxReaperxX
Programmer
Ok, I can use this COM object in VC++ but I can't in Borland.
The problem is this BSTR
in VC++ I can create a CString object, then use .AllocSysString() to convert it into a BSTR. Works fine...
But what can I do in Borland to do this same operation? I tried making a char[] and casting it with (BSTR) but it dosen't work, i'm guessing it needs to do some crazy conversions or something. Please help, thanks....
Vinh
The problem is this BSTR
in VC++ I can create a CString object, then use .AllocSysString() to convert it into a BSTR. Works fine...
But what can I do in Borland to do this same operation? I tried making a char[] and casting it with (BSTR) but it dosen't work, i'm guessing it needs to do some crazy conversions or something. Please help, thanks....
Vinh