mfc CException class
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
declaration in vc6 :virtual ~CException(); declaration in vc7 :virtual ~CException() = 0; try { if(nCount != sizeof(BITMAPFILEHEADER)) { throw new CException; } if(bmfh.bfType != 0x4d42) { throw new CException; } ................. } it work in vc6 ,it should pass compile but it should not pass link. but it all work in vc6.