I am forced to run some applications in windows 98 se
. vc6
has strange InterlockedCompareExchange
definition:
void* InterlockedCompareExchange(void**, void*, void*);
msdn
defines it like this however (since windows xp
):
LONG InterlockedCompareExchange(LONG*, LONG, LONG);
Does anyone remembers how to use it (I need to atomically get value of interlocked variable)?