我要在CUpForm中显示CMcuProperties对话框。
本来在UpForm.cpp中 #include"McuProperties.h",然后用CMcuProperties 定义对象然后Domodal(),没错。
现在我要在UpForm.h中定义一个CMcuProperties的对象时,在UpForm.h中包含#include"McuProperties.h",反而出错,这是为什么??
本来在UpForm.cpp中 #include"McuProperties.h",然后用CMcuProperties 定义对象然后Domodal(),没错。
现在我要在UpForm.h中定义一个CMcuProperties的对象时,在UpForm.h中包含#include"McuProperties.h",反而出错,这是为什么??
是不是之前在UpForm.cpp中定义的.h文件没有去掉,造成重复定义?或者文件路径问题?
你应该把出错信息写出来
然后在CMcuTimePage中定义CMcuProperties的对象,可是不管有没有#include "McuProperties.h"
编译的时候,都提示不认识 CMcuProperties这个类,这可能是什么原因啊?