Amit-37 wrote:
I just upgraded my Boost distribution, and have immediately run into a compilation problem: both Intel and VC++ compilers complain that: - 'QueueUserAPC' : is not a member of 'operator``global namespace''' - 'QueueUserAPC': identifier not found, even with argument-dependent lookup
1.35 compiles fine. I checked and this API is available in Winbase.h. Can't figure out why it is not being found - there don't seem to be be any C++ version directives hiding it inside winbase. I am on XP, and _WIN32_WINNT is set to 0x0501, so this is not the culprit either. Pre-compiled headers are turned off, and I have defined WIN32_LEAN_AND_MEAN (to avoid winsock conflict).
I add _WIN32_WINNT=0x0501 (or 0x0500) in project options (Preprocessor definitions or parameter /D ). After that, compilation of this part was OK. -- View this message in context: http://www.nabble.com/Boost.Asio-1.37---can%27t-compile-with-VC%2B%2B-2003-%... Sent from the Boost - Users mailing list archive at Nabble.com.