![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VC
zsdt345a780rfajwet
这个作者很懒,什么都没留下…
展开
-
error LNK2001: 无法解析的外部符号
1>hello.obj : error LNK2001: 无法解析的外部符号 "protected: void __thiscall CMainWindow::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CMainWindow@@IAEXIVCPoint@@@Z) 1>d:\Visual Studio 2008\Projec原创 2012-10-14 21:55:55 · 5672 阅读 · 0 评论 -
warning C4996: 'swprintf': swprintf has been changed to conform with the ISO C standard, adding an e
这是今天遇到的问题:(我用的是vs2008) 代码: swprintf( tempwcX, L"%s", tempStrX.c_str()); 错误: d:\visual studio 2008\projects\testregex\testregex\testregex.cpp(53) : warning C4996: 'swprintf': swprintf has been原创 2012-11-15 10:52:05 · 13412 阅读 · 0 评论 -
无法解析的外部符号 __imp____glutCreateMenuWithExit@8
今天开始学习openGL,网上找了一个例子,拿来调试,遇到如下问题。 已经加入了各种库和头文件: #include #include #include #include #include #pragma comment(lib,"opengl32.lib") #pragma comment(lib,"GLU32.LIB") #pragma comment(lib,"glaux.lib原创 2012-11-21 16:14:51 · 3112 阅读 · 0 评论 -
Run-Time Check Failure #2 - Stack around the variable ‘ ’ was corrupted.
Run-Time Check Failure #2 - Stack around the variable 'inDevDlg' was corrupted. 最近做项目的时候,做一个类,需要再添加一个新的成员变量, 我做了的工作有:头文件中添加声明,构造函数中初始化,析构函数中析构, 在完成这些工作后,就是会出现一个中断,然后错误代码:Run-Time Check Failure原创 2013-01-18 15:31:31 · 2448 阅读 · 0 评论 -
调用动态链接库(dll)
步骤:1.Tools->options->projects and solutions->VC++ directories分别在包含文件,库文件填加了路径 (这些路径只告诉编译器怎么找文件,没有说把那里面的文件加入工程.) (若不设置,编译报错:无法打开***文件) 2.Project->properties->原创 2013-10-06 19:56:06 · 841 阅读 · 0 评论 -
_com_error at memory location / 对象关闭时,不允许操作。
开始出现的问题是一直出现这样的错: 然后 break 就到了: inline HRESULT Recordset15::Close ( ) { HRESULT _hr = raw_Close(); if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));//但我觉得出错点是这句 retur原创 2013-10-24 21:28:15 · 8182 阅读 · 0 评论