Title: Message
Perhaps you need to download the Platform SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/. (IE seems to be required to view the site.) That may be safe and sufficient, but I'm not sure: see http://support.microsoft.com/default.aspx?scid=kb;en-us;292752. It looks like InterlockedCompareExchangePointer() has been in kernel32.dll since Win98, but no prototype was included in the MSVC 6 headers. If that's the case, you should be all set.
 
You might want to post your findings to this list with a suggestion that they be included in a FAQ. I don't think I've seen this question before, but I imagine it'll come up again.
-----Original Message-----
From: John Meyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 1:06 PM
To: [EMAIL PROTECTED]
Subject: Building for MSVC 6.0

Hi, I'm getting the following errors:

D:\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(720) : error C2039: 'InterlockedCompareExchangePointer' : is not a member of '`global namespace''

D:\xerces\src\xercesc\util\Platforms\Win32\Win32PlatformUtils.cpp(720) : error C2065: 'InterlockedCompareExchangePointer' : undeclared identifier

 

I've looked in the FAQ and the Build instructions and can't find anything about this.  Am I missing something?  BTW, Building on Windows XP.

Reply via email to