InterlockedCompareExchangePointer is a Win64 function. I have a strong hunch that you have defined Win64 by mistake...
The win32 counterpart is the function InterlockedCompareExchange(). -Vinayak > -----Original Message----- > From: Stanitis, Michael [mailto:[EMAIL PROTECTED] > Sent: Friday, March 14, 2003 10:42 AM > To: [EMAIL PROTECTED] > Subject: compilation problems - Xerces C++ 2.2 32 bit Binary > for Windows > > > When I try to compile Xerces Lib, I get an error: > > xerces-c-src2_2_0\src\xercesc\util\Platforms\Win32\Win32Platfo > rmUtils.cpp(81 > 3) : error C2039: 'InterlockedCompareExchangePointer' : is > not a member of > '`global namespace'' > > I have tried to resolve this problem, but haven't had any success. > > Microsoft says that InterlockedCompareExchangePointer() is declared in > winbase.h. I cannot find it in winbase.h. > > It's been a while since I've done Windows programming (mostly > programmed for > Linux and Solaris) so if I'm missing something obvious, > please let me know. > > > Thanks, > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
