Share via

InterlockedCompareExchange128 is not found on newer sdk

Alexandra Wheeler 0 Reputation points
2024-04-24T13:50:04.7333333+00:00

I'm running into a problem using windows 11 sdk (10.0.22621.0) through Microsoft Visual Studio. However I'm running into a problem where it cannot find "InterlockedCompareExchange128".

The specific error message looks like:
error C3861: 'InterlockedCompareExchange128': identifier not found

It can find InterlockedCompareExchange64, but not InterlockedCompareExchange128. I've previously used windows 10 sdk (10.0.18362.0) where everything worked.

Windows development | Windows API - Win32
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.