VB4 used ASCII (single-byte) BSTRs.
They had to be allocated using the ::SysAllocStringByteLen()
function.
Just like the ATL CComBSTR
class
wraps the UNICODE BSTR, CVbString will wrap the
ASCII version with an interface, which is pretty similar
to that of CComBSTR
.
Source Code Dependencies
Microsoft ATL LibrarySee Also
My CFixedString classDownload Files
![]() | Source Code (3 Kb) |