$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-06-10 21:48:10
Silvester wrote:
>How can i use spirit within a MFC-application?
>
>VC7.1 complains about the inclusion of <windows.h> when I include
>"boost/spirit.hpp" and refuses any further compilation.
>
>
Make sure you include the MFC headers (<afxwin.h>) before the Spirit
headers.
Of course that's a workaround, not a solution, but I think it's the only
way in this case.
Sebastian Redl