Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately

Hi, I am compiling Boot 1_35_0 with Visual Studio 2008 under Windows XP, and at compile time I get the following message: Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target) Following the advice, I then defined the following macro: _WIN32_WINNT=0x0501 However now I get the following errors: d:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxdlgs.h(235) : error C2504: 'IFileDialogEvents' : base class undefined d:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxdlgs.h(244) : error C2061: syntax error : identifier 'FDE_SHAREVIOLATION_RESPONSE' d:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxdlgs.h(246) : error C2061: syntax error : identifier 'FDE_OVERWRITE_RESPONSE' d:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxdlgs.h(249) : error C2504: 'IFileDialogControlEvents' : base class undefined What macros do really need to be defined? What values should be assigned for Windows XP? Thanks, Jean

AMDG Jean-Sebastien Stoezel wrote:
I am compiling Boot 1_35_0 with Visual Studio 2008 under Windows XP,
Can you be a little more precise about what you are trying to do? Are you trying to build the boost libraries as described here http://www.boost.org/doc/libs/1_36_0/more/getting_started/windows.html#or-bu... or are you trying to compile a progam using boost, or what? In Christ, Steven Watanabe

I'm compiling a program with boost. Everything is properly compiled
and linked except I get this message during compile time.
On Wed, Oct 29, 2008 at 2:07 PM, Steven Watanabe
AMDG
Jean-Sebastien Stoezel wrote:
I am compiling Boot 1_35_0 with Visual Studio 2008 under Windows XP,
Can you be a little more precise about what you are trying to do? Are you trying to build the boost libraries as described here http://www.boost.org/doc/libs/1_36_0/more/getting_started/windows.html#or-bu... or are you trying to compile a progam using boost, or what?
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

AMDG Jean-Sebastien Stoezel wrote:
I'm compiling a program with boost. Everything is properly compiled and linked except I get this message during compile time.
Do you have a small test case that you can post? In Christ, Steven Watanabe

Unfortunately no
On Wed, Oct 29, 2008 at 2:50 PM, Steven Watanabe
AMDG
Jean-Sebastien Stoezel wrote:
I'm compiling a program with boost. Everything is properly compiled and linked except I get this message during compile time.
Do you have a small test case that you can post?
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

AMDG Jean-Sebastien Stoezel wrote:
Unfortunately no
Hmm. The warning is coming from boost/asio/detail/socket_types.hpp, right? So... are you sure that you defined _WIN32_WINNT correctly? asio just does # define _WIN32_WINNT 0x0501 So if you do the same thing yourself it should be ok. In Christ, Steven Watanabe

AMDG?
On Wed, Oct 29, 2008 at 7:02 PM, Steven Watanabe
AMDG
Jean-Sebastien Stoezel wrote:
Unfortunately no
Hmm. The warning is coming from boost/asio/detail/socket_types.hpp, right?
So... are you sure that you defined _WIN32_WINNT correctly? asio just does # define _WIN32_WINNT 0x0501 So if you do the same thing yourself it should be ok.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On Wed, Oct 29, 2008 at 17:09, Rodrigo Madera
AMDG?
Ad maiorem Diabolus gloriam http://en.wikipedia.org/wiki/AMDG
participants (4)
-
Jean-Sebastien Stoezel
-
Rodrigo Madera
-
Scott McMurray
-
Steven Watanabe