DCL对话框程序能否用类形式编写?
<P>我编制了一DCL对话框程序,是参照mfc形式将处理DCL对话框的回调函数用类封装.但调试时未获成功,显示错误如下:D:\TOOLS\dwgbox\dwgbox.h(11) : error C2598: linkage specification must be at global scope<BR>D:\TOOLS\dwgbox\dwgboxDCL.cpp(51) : error C2672: 'dwgDCL' : new/delete member functions do not have 'this' pointers<BR>D:\TOOLS\dwgbox\dwgboxDCL.cpp(51) : fatal error C1903: unable to recover from previous error(s); stopping compilation</P><P>那位高手见过此类问题?请指教.</P>
页:
[1]