mfc applications must not include <windows.h>

How can i use spirit within a MFC-application?
VC7.1 complains about the inclusion of

Silvester wrote:
How can i use spirit within a MFC-application?
VC7.1 complains about the inclusion of
when I include "boost/spirit.hpp" and refuses any further compilation.
Make sure you include the MFC headers (

At 10:44 2006-06-10, you wrote:
How can i use spirit within a MFC-application?
VC7.1 complains about the inclusion of
when I include "boost/spirit.hpp" and refuses any further compilation.
put the spirit stuff in a file that doesn't need windows.h
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

Silvester wrote:
How can i use spirit within a MFC-application?
VC7.1 complains about the inclusion of
when I include "boost/spirit.hpp" and refuses any further compilation.
I've been using spirit in MFC applications extensively for several years now without any problems. Perhaps you can provide further details of the code. Jeff Flinn
participants (4)
-
Jeff Flinn
-
Sebastian Redl
-
Silvester
-
Victor A. Wagner Jr.