![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
windows 编程
文章平均质量分 65
Jiackhui
这个作者很懒,什么都没留下…
展开
-
PlaySound播放音乐
当调用 PlaySound(TEXT("second40.wav"), NULL, SND_FILENAME | SND_ASYNC); 来播放音乐的时候提示 error LNK2001: unresolved external symbol __imp__PlaySoundA@12 这个错误由于缺少链接库 winmm.li转载 2011-12-28 15:30:26 · 478 阅读 · 0 评论 -
MSDN上的GetOpenFileName()函数验证
MSDN的 GetOpenFileName()验证时不能显示“打开对话框”,修改OPENFILENAME的成员lpstrFile[0] = '/0'成功 OPENFILENAME ofn; // common dialog box structure char szFile[260]; // buffer for file name HWND hwnd转载 2011-12-28 15:31:54 · 779 阅读 · 0 评论 -
HANDLE_##message
所属分类:VC/MFC Visual C++ 资源----------------------------------------------------------------------遇到这样一个宏定义:#define chHANDLE_DLGMSG(hwnd, message, fn) \ case (message): return转载 2012-02-27 00:15:37 · 393 阅读 · 0 评论