Milind Nalgirkar

#error WINDOWS.H already included

Discussion created by Milind Nalgirkar on Dec 22, 2008
Hi,<br /><br />I wanted to use CFileDialog class in my SolidWorks C++ Addin project. I included #include "afxdlgs.h" file in the code. and I have used MFC in a shared Dll.<br />Project setting->Configuration Properties->general->Use of MFC = Use MFC in a shared DLL<br /><br />But now I am getting following error:<br />#error WINDOWS.H already included.  MFC apps must not #include <windows.h><br /><br />Kindly response quickly, I am stuck.<br /><br />Thanks in advance