I'm running VC6/SP5 here and get an unresolved
InterlockedCompareExchangePointer symbol. It should be defined in winbase.h
and kernel32.lib, but it isn't (neither).
Any idea?

For now, I've taken this define from openwatcom's winbase.h, but that can't be
the solution, I guess:

#define InterlockedCompareExchangePointer(d,e,c) \
    (PVOID)InterlockedCompareExchange((LPLONG)(d),(LONG)(e),(LONG)(c))

nd

Reply via email to