查看单个帖子
旧 2009-05-06, 11:38 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem with using and questions about i

problem with "using" and questions about it
problem with "using" and questions about it
the sample documentation says to add this into your class that is derived from the systemservices:
protected:
using exsystemserviceserator new;
using exsystemserviceserator delete;
however, the sample mfc applications provided do it like this:
protected:
using cwinapperator new;
using cwinapperator delete;
please explain to me why the change in the code? i have used cwinapp because the sample does. but should i be using exsystemservices?
also, when i include these lines into my application class header file, my application class is no longer visible in the classview. is it possible to prevent that from happening?
thank you.
andrew
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)