View Full Version : ActiveQt LPSTR marshalling

29th April 2008, 21:52
Does anyone know how to use LSTR with the ActiveQt stuff? I have a custom marshalled interface and the ActiveQt stuff only supports BSTR (OLE wide chars) but this is an 8-bit string. I somehow need to get th Qt stuff to take the LPSTR and not have Qt Complain "QAxBase: Unhandled type LPSTR"

I can't change the interface.

30th April 2008, 07:55
LPSTR is nothing more than a char* (ascii ancoded)
LPWSTR is unsigned short* (utf-16 encoded)