--------------------Configuration: Te2 - Win32 Debug--------------------
Compiling...
Te2Dlg.cpp
e:\projecttesting\te2\te2dlg.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2039: 'theApp' : is not a member of '`global namespace''
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2065: 'theApp' : undeclared identifier
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2228: left of '.session' must have class/struct/union type
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2228: left of '.GetFtpConnection' must have class/struct/union type
Error executing cl.exe.
在工程Te2想在class Te2Dlg的方法里引用全局对象theApp,已经添加头文件#include "Te2.h",怎么还是会出现以上的编译错误?到底是哪里出了毛病?
Compiling...
Te2Dlg.cpp
e:\projecttesting\te2\te2dlg.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2039: 'theApp' : is not a member of '`global namespace''
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2065: 'theApp' : undeclared identifier
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2228: left of '.session' must have class/struct/union type
E:\ProjectTesting\Te2\Te2Dlg.cpp(189) : error C2228: left of '.GetFtpConnection' must have class/struct/union type
Error executing cl.exe.
在工程Te2想在class Te2Dlg的方法里引用全局对象theApp,已经添加头文件#include "Te2.h",怎么还是会出现以上的编译错误?到底是哪里出了毛病?
解决方案 »
- CList 删除节点
- 用DirectSound播放音乐,闪一下就没了,这是为什么
- 在做一个图片编辑器的东西怎么让放大缩小后显示坐标正确
- ***大虾说下OLE,ActiveX,COM,ATL这四者是什么关系?***
- 急!为什么我发送的数据接收方收到一部分后就不收了,我用的是TCP连接?
- 请求 鼠标移过时反相显示技术。。。
- error C2059: syntax error : 'constant'
- 问:请问有哪几种比较简单易用的图象压缩算法?用VC
- 今天真的感到C++落后了!
- 我想从一个VC程序的程序入口就设置断点用于跟踪整个程序的执行流程,就象在BCB中在开始设置断点一样,不知道可不可以?如果可以怎么才能
- vc的add files to folder 不能弹出对话框了。大家帮帮忙啊!
- VC打开文件系统报错,是怎么回事啊?
(afxCurrentAppName!=NULL);return afxCurrentAppName;我想知道这是怎么回事,难道我用全局对象theApp会改变目前App的名字么?