Win32API
LDWJ2016
这个作者很懒,什么都没留下…
展开
-
什么是Windos API
Windows API包含三个方面:Windows函数调用、Windows数据类型和 Windows数据结构。Windows数据类型:是Microsoft用C语言原生类型定义的新的数据类型。原创 2016-09-30 21:20:31 · 571 阅读 · 0 评论 -
一个好用的函数 wcstoul:把CString包含的字符串转换成整数
Convert strings to an unsigned long-integer value. unsigned long wcstoul( const wchar_t *nptr, wchar_t **endptr, int base );nptr Null-terminated string to convert.endptr Po...翻译 2018-09-11 21:05:06 · 1940 阅读 · 0 评论 -
多字节字符串与宽字符串之间的转换
1. Maps a character string to a UTF-16 (wide character) string. Syntax:int MultiByteToWideChar( UINT CodePage, DWORD dwFlags, _I...翻译 2018-09-09 08:51:26 · 421 阅读 · 0 评论 -
CString 用法总结
1. 构造一个CString对象 (1) 使用字符串常量 CString str2 (_T("Hello Window!"));CString str1 = _T("Hello Window!"); (2) 使用字符串数组TCHAR szBuf[] = _T("Hello Window!"); CString str2(szBuf);CString...原创 2018-09-12 20:50:47 · 1600 阅读 · 0 评论