unable to find an entry point named 'interlockedexchange'
Posted
by Miki Amit
on Stack Overflow
See other posts from Stack Overflow
or by Miki Amit
Published on 2010-04-08T11:10:59Z
Indexed on
2010/04/08
11:13 UTC
Read the original article
Hit count: 410
Hi , I built an application in c# vs2005 .net .
Everything works fine when i run the application in win 32 bit, But when running the application in win 64 it crashes while trying to call the pinvoke interlockedexchange(which is within the kernel32.dll) function .
This is the exception : unable to find an entry point named 'interlockedexchange'
I didnt find the interlockedexchange function within the kernel32.dll under system32 directory but it was found under the syswow64 directory(in the kernel32.dll) .
I guess that the .net runtime is configured to the system32 directory and not to the syswow64 . How is it possible to change this configuration ? Can you think of any other problem that could cause this? any help would be appreciated! thanks ,
Miki Amit
© Stack Overflow or respective owner