04 2022 档案

摘要:原来的项目需要追加一个截图的功能。我将其封装成一个类,但是在添加到项目时爆出了以下错误。 C1189 #error directive: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll ve 阅读全文
posted @ 2022-04-13 09:09 逃跑的红薯 阅读(1157) 评论(0) 推荐(0)
摘要:参考链接 c++ - #error WINDOWS.H already included. MFC apps must not #include <windows.h> - Stack Overflow 背景 因为项目需要用到Windows截屏功能,要求代码是C++的。于是使用到了VC的MFC相关的 阅读全文
posted @ 2022-04-12 16:14 逃跑的红薯 阅读(6148) 评论(0) 推荐(1)