I'm trying to port a 32bit application to 64bit and have trouble with some interlocked functions, namely: InterlockedIncrement64, Decrement64, Exchange64, CompareExchange64 and ExchangeAdd64. 
The error:
error LNK2001: unresolved external symbol "_InterlockedExchange64" C:\path_to_object_file\myclass.obj
I already search for the error and found some threads, but none seemed to work. (E.g. see this)
I checked where kernel32.lib and psapi.lib are (/VERBOSE_LIB) and the solution from the link above did not help (giving full path to psapi.lib in Project->Linker->Additional Dependencies).
I also checked if the Vc++ Directories and especially the library directories did change between Win32-Version and x64, which they should and do.
Thank you for help in advance.
 
    