windows.h and MFC

后端 未结 2 812
时光说笑
时光说笑 2021-01-02 17:18

Why can\'t I include windows.h in afx(MFC) projects?

2条回答
  •  感情败类
    2021-01-02 17:45

    Because in MFC you are not supposed to use it directly. AFAIR you should include afx.h instead, which in turn indirectly includes windows.h the proper way.

提交回复
热议问题