我在vc6.0中打开ClassWizard时出现以下:
Parsing error: Illegal line encountered.
Input Line: "methods:
"
通过查找"methods: ,定位到错误应该出现到以下代码中
properties: // NOTE - ClassWizard will maintain property information here. // Use extreme caution when editing this section. //{ {AFX_ODL_PROP(COLPCtrl) //}}AFX_OD,L_PROP methods: // NOTE - ClassWizard will maintain method information here. // Use extreme caution when editing this section. //{ {AFX_ODL_METHOD(COLPCtrl) [id(2)] SCODE RecvPacket(VARIANT* varPackData, short cbUserData, VARIANT* varUserData); [id(1)] SCODE InputControl(short cbInputType, VARIANT* varInputData); //}}AFX_ODL_METHOD
但看了半天也没看出有什么出错的地方,都是些注释。注释应该不会出错(我一开始以为ÿ