CDC类问题,声明一个CDC对象,竟然找不到GetDC()成员函数??CDC *pDCCDC::GetDC()编译错误:error C2039: G
CDC类问题,声明一个CDC对象,竟然找不到GetDC()成员函数??
CDC * pDC=CDC::GetDC();
编译错误:
error C2039: 'GetDC' : is not a member of 'CDC'
d:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(636) : see declaration of 'CDC'
error C2660: 'GetDC' : function does not take 0 parameters
[解决办法]
