Andre Lorbach
11/11/2005 3:45:00 PM
Hi all,
today I updated to VisualStudio 2005 and tried converting on of my projects
to it.
In this project I am heaviliy using the additional "Microsoft.Data.Odbc"
namespace to work with databases. I installed the x64 Version of the .Net
Framework.
My System is:
Windows XP x64 with all patches installed
2 GB Mem, enough HD Space.
Installed:
Office 2003
VisualStudio 6
VisualStudio2003
VisualStudio2005
I can compile my program and run it. My problem now is that once I come to
the point where the "Microsoft.Data.Odbc" namespace is used, I get the
following exception:
System.EntryPointNotFoundException was unhandled
Message="Unable to find an entry point named 'InterlockedDecrement' in DLL
'kernel32.dll'."
Source="Microsoft.Data.Odbc"
TypeName=""
StackTrace:
at System.Data.Common.SafeNativeMethods.InterlockedDecrement(IntPtr
lpAddend)
at Microsoft.Data.Odbc.DBCWrapper.Finalize()
From the taskmanager, I can see that my compiled app is now running in the
x64 environment and the error messages leads me to the point that the Odbc
compoment my is not compatible to this new environment.
Does anybody has an Idea how to fix this problem?