说我的stdafx.cpp文件错了错误如下,
error C2857: '#include' statement specified with the /Ycstdafx.h command-line option was not found in the source file
error C2857: '#include' statement specified with the /Ycstdafx.h command-line option was not found in the source file
解决方案 »
- 两个问题,1,禁止窗口被用户改变大小。2,如果用代码改变窗口大小
- 怎么在窗口上动态添加一个按钮控件
- 最好的游戏制作群8672698
- 急~~~~~~~~~~~~~请问~~~~我用vc6有时程序出错但是有不能停止,只能强制停止。请问是怎么回事~~~~
- FEEBOBY接分!!!!!!!!!
- 我应该怎么在对话框上显示菜单栏,给满分啊!千万不要犹豫喔!机会难得,很简单吧~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 如何在局域网内过滤IP包
- 指定的TXT文档读到listctrl中
- 线程中调用accept函数,返回连接的socket。如何将这个socket值传递给消息响应函数。
- 用vc2013+wdk如何入手实现以下的驱动?不吝赐教 谢谢!
- 把设备上的内容如何输出到打印机呢
- 我现在的服务什么也做不了,在什么地方加上实现服务功能的代码段呢?
/Yc Create Precompiled Header File The compiler compiles all code up to the end of the base source file, or to the point in the base file where #pragma hdrstop occurs.
/Ycfilename Through Header The compiler compiles all code up to and including the .H file specified in the Through Header text box (filename). 估计是你把stdafx.h文件删了?
在Project->C/C++->Gernal栏选Precomplier Header选not use (第一项)
重编译试试?
[email protected]
mainwnd.obj : error LNK2019: unresolved external symbol __imp_CoUninitialize referenced in function "unsigned long __cdecl NewWindow(void *)" (?NewWindow@@YAKPAX@Z)
mainwnd.obj : error LNK2019: unresolved external symbol __imp_CoInitializeEx referenced in function "unsigned long __cdecl NewWindow(void *)" (?NewWindow@@YAKPAX@Z)
mainwnd.obj : error LNK2019: unresolved external symbol __imp_InternetQueryOptionW referenced in function "void __cdecl GetProxyOption(void)" (?GetProxyOption@@YAXXZ)
mainwnd.obj : error LNK2019: unresolved external symbol __imp_CoCreateInstance referenced in function "protected: struct HWND__ * __cdecl CMainWnd::CreateBrowser(void)" (?CreateBrowser@CMainWnd@@IAAPAUHWND__@@XZ)
MIPSII_FPDbg/mainwnd.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.mainwnd.exe - 5 error(s), 0 warning(s)
我发给你