修正
Global 的对象'theApp', 我在另一个文件中引用,却出现error C2065: 'theApp' : undeclared identifier为什么?我已经#include 该定义theApp的"keyanchu.h"?
我是这样引用的:
KeyanchuSet KeyanchuSet(&theApp.m_db);//theApp
调试器告诉我:error C2065: 'theApp' : undeclared identifier?
谢谢