VC++6.0报错解决记录(不断更新)

来源:互联网 发布:jquery post 乱码 php 编辑:程序博客网 时间:2024/05/17 22:59

编译和链接中的错误

1

LINK : fatal error LNK1168: cannot open Debug/ling.exe for writing

解决办法:1,关掉正在执行的exe

                    2.打开任务管理器,在里面找到刚才执行的程序,关闭

 

 

2

error LNK2001: unresolved external symbol __imp__PlaySoundA@12

解决:

#include <mmsystem.h>   
#pragma comment(lib, "winmm.lib") 


3

fatal error C1083: Cannot open precompiled header file: 'Debug/TANSHI.pch': No such file or directory执行 cl.exe 时出错.解决:

打开stdafx.cpp 按F7,再次执行就行了

0 0
原创粉丝点击