问题集锦
VC天下
35+程序员,关注程序员的职场发展。
展开
-
error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CQQFace::classC
<br />在用VC做仿QQ面板的时候,加入了几个对话框类,应用RUNTIME_CLASS()时,编译时出现如下错误:<br />error LNK2001: unresolved external symbol "public: static struct原创 2010-11-30 14:37:00 · 10657 阅读 · 2 评论 -
C2512: no appropriate default constructor availabl
This error usually occurs when you implement the constructor function of a derived class and forget to include parameter passing t原创 2010-11-23 16:32:00 · 2150 阅读 · 0 评论 -
The symbol is ""undefined 解决方法
<br />使用MFC中有时已经定义了变量或者函数,但是即使在定义的变量或函数上点右键-Go to Definition of ""都会出现The symbol is "xxx" undefined。<br />这是因为VC++ 把变量、函数等信息都记录在De转载 2010-07-22 16:18:00 · 4106 阅读 · 0 评论 -
_beginthreadex : undeclared identifier解决办法
我在一个控制台程序中使用了_beginthreadex()函数,并包含了PROCESS.h头文件 但总是编译错误:告诉我函数没有定义? #include "process.h"............ Compiling... e:/_te$t/test/main.cpp(2299) : error C2065: _beginthreadex : undeclared i转载 2008-09-28 16:29:00 · 6295 阅读 · 2 评论 -
VC 英文菜单改为中文时出现乱码
VC 英文菜单改为中文时出现乱码,以前在ResourceView中的Menu下面直接更改为中文时,并没有出现过此问题。今天打开了RC文件,直接更改的RC文件,出现了此问题。后来在Menu Properties中,无论如何更改Language,均没有解决。最终原创 2011-05-31 09:14:00 · 3486 阅读 · 0 评论 -
Unhandled exception in XXX.exe(MFCO42D.dll)0xC00000005:Access Violation
在引用shockwave flash object 控件时,出现问题Unhandled exception in XXX.exe(MFCO42D.dll)0xC00000005:Access Violation的烦人问题。代码如下:CShockwave原创 2010-08-12 16:39:00 · 4727 阅读 · 0 评论 -
error C2373: redefinition different type modifiers
出现这个错误的原因在于:你使用了没有事先声明的函数。例如:void funcA(void){ int i = 0; i = funcB();}int funcB(void){ return 0;原创 2010-09-21 09:57:00 · 15840 阅读 · 1 评论 -
VS2010错误error C2678
之前用的好好的,今天整理了一下工程,删除了一些没用到的.h和.cpp文件,重新编译,发生错误:error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion)代码定位在if语句里:原创 2013-10-24 11:28:09 · 8737 阅读 · 2 评论