![]() |
about unicode programming - using UNICODE macro
#ifdef UNICODE
memcpy(pByte, strSource.GetBuffer(), strSource.GetLength() * 2); #else memcpy(pByte, strSource.GetBuffer(), strSource.GetLength()); #endif 应该这么写: memcpy(pByte, strSource.GetBuffer(), strSource.GetLength()*sizeof(TCHAR)); |
回复: about unicode programming - using UNICODE macro
unicode 可参考《windows核心编程》,这本书有详解。
|
所有的时间均为北京时间。 现在的时间是 12:33 AM. |