BOOL WritePrivateProfileString( LPCTSTR lpAppName, // INI文件中的一个字段名[节名]可以有很多个节名 LPCTSTR lpKeyName, // lpAppName 下的一个键名,也就是里面具体的变量名 LPCTSTR lpString, //... ...
分类:
编程语言 时间:
2019-01-06 16:27:46
阅读次数:
152
0x00 函数原型 HMODULE LoadLibraryA( LPCTSTR lpLibFileName//模块的的的名字 ) FARPROC GetProcAddress( HMODULE hModule, // DLL模块句柄 LPCSTR lpProcName // 函数名 ); 0x01 ...
分类:
其他好文 时间:
2018-11-17 15:58:29
阅读次数:
195
int MessageBox( HWND hWnd, // handle of owner window LPCTSTR lpText, // address of text in message box LPCTSTR lpCaption, // address of title of messa ...
分类:
编程语言 时间:
2018-10-29 14:14:01
阅读次数:
238
MoveFile可以移动文件,更名文件,移动目录(包括目录下的所有文件以及子目录)。函数定义:BOOL MoveFile( LPCTSTR lpExistingFileName, // file name LPCTSTR lpNewFileName // new file name);参数不介绍了, ...
LONG RegOpenKeyEx( HKEY hKey, // 需要打开的主键的名称 LPCTSTR lpSubKey, //需要打开的子键的名称 DWORD ulOptions, // 保留,设为0 REGSAM samDesired, // 安全访问标记,也就是权限 PHKEY phkResu ...
分类:
其他好文 时间:
2018-07-16 11:18:00
阅读次数:
168
virtual BOOL CreateEx( DWORD dwExStyle, LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, int x, int y, int nWidth, int nHeight, HWND hWnd ...
分类:
其他好文 时间:
2018-06-13 14:51:32
阅读次数:
172
char* 转换成 LPCTSTR LPCTSTR 转换成 char * ...
分类:
编程语言 时间:
2018-06-12 18:30:21
阅读次数:
165
CString转char: CString m_Readcard; char ReaderName[22]; strcpy((char*)&ReaderName,(LPCTSTR)m_Readcard); char 转CString: CString m_Readcard; char ReaderN ...
分类:
其他好文 时间:
2018-06-12 12:50:25
阅读次数:
139
CString->char* char*->CString char*->LPCTSTR ...
分类:
其他好文 时间:
2018-06-05 20:05:09
阅读次数:
140
1、ANSI(即MBCS):为多字节字符集,它是不定长表示世界文字的编码方式。ANSI表示英文字母时就和ASCII一样,但表示其他文字时就需要用多字节。2、Unicode:用两个字节表示一个字符的编码方式。比如字符'A'在ASCII下面用一个字节表示,而在Unicode下面用两个字节表示,其中高字节 ...
分类:
其他好文 时间:
2018-04-07 11:16:49
阅读次数:
137