September 6, 2005

InterlockedXxx on x64/IA64 (InterlockedIncrement, InterlockedDecrement, InterlockedExchange, ...)

Someone asked why he cannot import the InterlockedIncrement function from the kernel32.dll as described in the documentation.

After digging a bit in winbase.h I found out, that these function are not exported by any DLL, instead the PSDK uses the new compiler intrinsics !

So alsmost all Interlocked… functions are not exported by any DLL and therefor not accessible by other languages than C/C++ (for example delphi). Currently I do not know what to suggest to these programmers…

I also wrote a mail to the MSDN-docu guys… but I have almost no hope that the documenation will be changed in the next years…

Posted 2 years, 4 months ago on September 6, 2005
The trackback url for this post is

Comments have now been turned off for this post