windows API练习(2)多字节编码转UNICODE编码

wstring MtbToWstr( const string& str, UINT uCodePage = CP_ACP ){ LPWSTR lpwszWide = NULL; DWORD cbszWide = 0U; DWORD dwRet = 0U; wstring wstrRet;...

2009-03-12 01:15:00

阅读数:3334

评论数:0

windows API练习(1)返回错误码字符串的函数

#include #include using std::wstring;wstring GetErrIDMsg( DWORD dwError ){ HLOCAL hlocal = NULL; wstring wstrRetMsg; DWORD dwRet = FormatMes...

2009-03-10 13:17:00

阅读数:2282

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭