Boost logo

Boost Users :

Subject: [Boost-users] Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately
From: Jean-Sebastien Stoezel (js.stoezel_at_[hidden])
Date: 2008-10-29 09:37:17


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net