![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Visual Studio
解决Windows编程相关问题
Merlin-Ice
Write the best codes for the best game!
展开
-
VisualStudio argc和argv配置
原创 2021-05-05 11:05:30 · 531 阅读 · 0 评论 -
Windows内存泄漏检测
#include<stdio.h>#include <crtdbg.h>#include<Windows.h>#ifdef _DEBUG#define new new(_NORMAL_BLOCK, __FILE__, __LINE__)#endifint main(){ _CrtSetDbgFlag(_CrtSetDbgFlag(0) |...原创 2019-12-22 10:46:29 · 126 阅读 · 0 评论 -
Window异常捕获
#include <windows.h>#include <stdio.h>#include <iostream>#include <string>long __stdcall callback(_EXCEPTION_POINTERS* excp){ char msg[200]; sprintf_s(msg,"Error addres...原创 2019-12-22 10:45:44 · 336 阅读 · 0 评论 -
vs2010 问题 >LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
问题说明:当安装VS2012之后,原来的.NET 4.0会被替换为.NET 4.5。卸载VS2012时,不会恢复.NET 4.0。l 当VS2012安装后,VS2010的cvtres.exe就无法使用了。如果你的PATH环境变量中VS2010的工具路径第一个出现,而且链接器需要将.res文件转换为COFF 对象格式,就会导致LNK1123错误。l 当VS生成PE文件头时,使用的cvtr转载 2015-11-24 11:09:36 · 271 阅读 · 0 评论