Okay, got it fixed, just made a little change from this:
#if defined WIN64
return ::InterlockedCompareExchangePointer(toFill, (void*)newValue, (void*)toCompare);
to this:
#if 0 //defined WIN64
return ::InterlockedCompareExchangePointer(toFill, (void*)newValue, (void*)toCompare);
and it linked just fine.
Going to test it now, wish me luck.
Just to double check, aren't you by any chance compiling the Win64 configuration? WIN64 shouldn't be defined if you pick the Win32 Debug|Release configuration...
Alberto
-----Original Message----- From: Dave Connet [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 1:55 PM To: [EMAIL PROTECTED] Subject: RE: Building for MSVC 6.0
I build using vc6 and do not have the sdk installed. I do have sp5 installed (plus the stl header patches - which are required) I've built 1.4, 1.5.2, 1.6, 2.1 and 2.2 on nt4/win2000/xp machines. Never had a problem with any of them...
Dave Connet
Entelos, Inc.
-----Original Message-----
From: Jesse Pelton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:50 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Building for MSVC 6.0
Have you searched the mailing list archive? I've been monitoring the list for years, and I don't recall this coming up before, but I have fewer brain cells today than I did yesterday...
-----Original Message-----
From: John Meyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Building for MSVC 6.0
Thanks, but before I do, I want to know if this problem has happened before on the same type of configuration, if I'm just doing something wrong, or if this is an issue that needs to be addressed in the install instructions or something like that.
-----Original Message----- From: Jesse Pelton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 11:29 AM To: '[EMAIL PROTECTED]' Subject: RE: Building for MSVC 6.0
Perhaps you need to download the Platform SDK from <http://www.microsoft.com/msdownload/platformsdk/sdkupdate/>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>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.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
