CGerberDoc* GetDocument() const; 错误

在多文档编程的时候,经常会遇到CGerberDoc* GetDocument() const; 错误。

错误原因是
#include "xxxDoc.h" 
#include "xxxView.h" 

的引用顺序反了。
正确的做法是在 .cpp文件下按照以上顺序引进就不会出错

你可能感兴趣的:(CGerberDoc* GetDocument() const; 错误)