我的程序碰到一个很奇怪的错误: local function definitions are illeg .帮我看看,这是什么问题?
我的程序碰到一个很奇怪的错误:
error C2601: 'Run' : local function definitions are illegal
int CEcgCap::Run()
{ // 报错误 ???
// TODO: Add your specialized code here and/or call the base class
ReadThread();
return CWinThread::Run();
}
ReadThread(); //此函数的定义和实现并没有报错.
CEcgCap的定义如下:
class CEcgCap : public CWinThread