为什么总是说我的类未知???怪异!!!
sboom 2003-11-22 01:23:22 编译错误:
error C2146: syntax error : missing ';' before identifier 'pg1'
g:\projects\eco\ecodlg.h(24) : error C2501: 'page1' : missing storage-class or type specifiers
g:\projects\eco\ecodlg.h(24) : error C2501: 'pg1' : missing storage-class or type specifiers
自己继承了CPage 类为 page1,在对话筐类中定义 page1 pg1,编译出现上面的错误,已经在对话筐头文件中增加了#include "page1.h" ,为什么???继承其他类时也会这样,page1 pg1去掉编译一次,提示错误后再把page1 pg1恢复,再编译居然又没问题。