afxGetMainWnd()->GetSafeHwnd
DDraw 中的设置 "窗口 "模式下运行
SetCooperativeLevel(afxGetMainWnd()-> GetSafeHwnd,DDSCL_NORMAL)
afxGetMainWnd,,怎么都编译不过/
[解决办法]
afxGetMainWnd()-> GetSafeHwnd()这是VC里面的语句吧
改为SetCooperativeLevel(Form1-> Handle,DDSCL_NORMAL)