出现这样的错误,为何原因?
我创建一个基于MFC的数据库连接,我首先创建了两个BOTTON按纽,在按纽中加入MESSAGE
为BN_CLICKED.(单击事件),接着开始EDID CODE 
编完后,运行出现这样的结果.对住FUNTION 
  "local function definitions are illega"l完整为这样   
    I:\StudySoft\Mystudydoing\VC++\temp\datadbf\datadbfView.cpp(465) : error C2601: 'OnChoice2' : local function definitions are illegal
其中 onchoic2 为  Memeber funtions (为单击事件名)当我将全部代码注译了,都会出现这种情况!
为什么会这样?