Follow Us

Posts tagged with 'GetBufferSetLength'

Converting from CString to char* is conditional, becuase CString is a TCHAR based implementation. TCHAR is defined as a char if _UNICODE is not defined, so if this is the case we can convert to char*, since TCHAR* and char* are equal, else we’ve got to use function like MultiByteToWideChar/W2A/W2AEX etc. So from now on […]Continue reading…