Symbian字符串转换宝典
2010-05-31 20:21:00 来源:WEB开发网好东东啊:
IMPORT_C int CharToTbuf16(const char* aSrc, TDes16& aDes);
IMPORT_C int CharToTbuf8(const char* aSrc, TDes8& aDes);
IMPORT_C int CharToHbufc16(const char* aSrc, HBufC16* aDes);
IMPORT_C int CharToHbufc8(const char* aSrc, HBufC8* aDes);
IMPORT_C int CharpToTptr8(const char* aSrc, TPtr8& aDes);
IMPORT_C int CharpToTptr16(const char* aSrc, wchar_t* wPtr, TPtr16& aDes);
IMPORT_C int CharpToTptrc16(char* aSrc, wchar_t* cPtr, TPtrC16& aDes);
IMPORT_C int CharpToTptrc8(const char* aSrc, TPtrC8& aDes);
IMPORT_C int CharToRbuf16(const char* aSrc, RBuf16& aDes);
IMPORT_C int WcharToTbuf16(const wchar_t* aSrc, TDes16& aDes);
IMPORT_C int WcharToTbuf8(const wchar_t* aSrc, TDes8& aDes);
IMPORT_C int WcharToHbufc8(const wchar_t* aSrc, HBufC8* aDes);
IMPORT_C int WcharToHbufc16(const wchar_t* aSrc, HBufC16* aDes);
IMPORT_C int WcharpToTptr16(const wchar_t* aSrc, TPtr16& aDes);
IMPORT_C int WcharpToTptr8 (const wchar_t* aSrc, char *cPtr, TPtr8& aDes);
IMPORT_C int WcharpToTptrc8 (const wchar_t* aSrc, char* cPtr, TPtrC8& aDes);
IMPORT_C int WcharpToTptrc16 (const wchar_t* aSrc, TPtrC16& aDes);
IMPORT_C int WcharToRbuf8 (const wchar_t* aSrc, RBuf8& aDes);
IMPORT_C int WcharToRbuf16 (const wchar_t* aSrc, RBuf16& aDes);
IMPORT_C int StringToTbuf8 (string& aString, TDes8& aDes);
IMPORT_C int StringToTbuf16 (string& aString, TDes16& aDes);
IMPORT_C int StringToTptrc16 (string& aString, wchar_t *wptr, TPtrC16& aDes);
IMPORT_C int StringToTptrc8 (string& aString, TPtrC8& aDes);
IMPORT_C int StringToTptr8 (string& aString, TPtr8& aDes);
IMPORT_C int StringToTptr16 (string& aSrc, wchar_t *wPtr, TPtr16&
更多精彩
赞助商链接