Unable to find an entry point named 'InterlockedIncrement' in DLL 'kernel32.dll' - VS2005@Win7 64 bit
问题 I have a problem with my Visual Studio 2005 C# project. I have been using it under Windows XP, since Monday. Then my laptop broke down and on my new one I have Windows 7 64 bit and I am still using VS 2005. There is no problem with compilation of the source, but when I run the program it breaks on the line below OdbcConnection cn; cn = new OdbcConnection("dsn=My_dsn_name;"); I get the error: EnrtyPointNotFoundExcepition was unhalted Unable to find an entry point named 'InterlockedIncrement'