谢谢楼上,运行后发现错误如下;
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(155) : error C2673: 'main' : global functions do not have 'this' pointers
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(155) : error C2227: left of '->OnCancel' must point to class/struct/union
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(157) : error C2673: 'main' : global functions do not have 'this' pointers
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(157) : error C2227: left of '->OnCancel' must point to class/struct/union
[Quote=引用 8 楼 summer366 的回复:]
谢谢楼上,运行后发现错误如下;
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(155) : error C2673: 'main' : global functions do not have 'this' pointers
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(155) : error C2227: left of '->OnCancel' must point to class/struct/union
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(157) : error C2673: 'main' : global functions do not have 'this' pointers
c:\documents and settings\wsy\桌面\allgdop2\allgdop2\allgdop2\allgdop2.cpp(157) : error C2227: left of '->OnCancel' must point to class/struct/union ^[/Quote]