![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vc
wjatchd
这个作者很懒,什么都没留下…
展开
-
SendMessage
{ TCHAR szMessage[MAX_PATH]; SendMessage(MSG_SELF_MESSAGE, nMessageType, (LPARAM)szMessage);}因为SendMessage要等到其发送的消息对应的处理函数返回的时候才会返回,所以传递一个局部的地址是可以的。原创 2013-03-04 09:13:19 · 733 阅读 · 0 评论 -
应用程序无法启动 并行配置不正确
问题 :程序在自己的机器上编译通过,且运行正常,复制到另外一台机器上,运行时提示“应用程序无法启动 并行配置不正确”。可能的一个原因是缺少visual c++的32位运行库vcredist_x86.exe。如果在编译之前选择“在静态库中使用mfc”,可以避免运行时出现这样的错误。原创 2013-04-24 11:17:25 · 1089 阅读 · 0 评论 -
windows删除目录
#include void DeleteFolder(LPCTSTR strPath){ HANDLE hFile; WIN32_FIND_DATA fndInfo; CString strPathName,strSubFileName; strPathName.Format(_T("%s\\*.*"), strPath);//wildcard 通配符 hFil原创 2013-05-09 13:46:28 · 621 阅读 · 0 评论