You may have a point here. But, Michael is compiling the branch that uses 
InterlockedCompareExchangePointer because he has defined WIN64. If he really is using 
WIN64 then he doesnt need to have platform SDK to get this Fn.

Installing the platform sdk may solve this one problem for him, but he may run into 
other probs if he is building the WIN64 version of the code on a Win32 box.

Just my two cents.

-Vinayak

> -----Original Message-----
> From: Robert Buck [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 14, 2003 11:14 AM
> To: [EMAIL PROTECTED]
> Subject: RE: compilation problems - Xerces C++ 2.2 32 bit Binary for
> Windows
> 
> 
> Vinayak, Michael
> 
> Actually InterlockedCompareExchangePointer is available in 
> Win32. Look at
> the MSDN doc again. We use it here all the time on Win32. But 
> yes, what MS
> does is wrap InterlockedCompareExchange for win32.
> 
> What Michael may want to do is download the Platform SDK from 
> Microsoft. It
> is available at:
> 
> http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
> 
> -Bob
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 14, 2003 11:03 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: compilation problems - Xerces C++ 2.2 32 bit Binary for
> > Windows
> >
> >
> > 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]
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to