Howto run CE on x64?-Collection of common programming errors


  • msdn Hi all,I whant to use Compact Edition on x64 based systems, but I always get the error of about ‘sqlceme35.dll’.I know there is alot of posts about this but the only solution I have seen so far is to change to from “Any CPU” to x86.But I whant to be able to run the application in x64 correctly and not in 32 bit mode.Is it possible to like, include the .dll’s and be able to run the application with CE database under x64?
  • 4 Answers


  • msdn1

  • msdn2 Thank you!But as I’m a beginner I need this to be clear for me.I have installed SSCERuntime-ENU.x64.msiNow wich .dll’s do I actually need to include? Running in x86 enviroment seems to work fine by default. So to get this work in x64, do I only need to include the .dll’s from %Program Files%\Microsoft SQL Server Compact Edition\v3.5 ?Or do I need to include all the .dll’s you posted?One more thought, to include the .dll’s. Do I do it by adding refrences?

  • msdn3

  • msdn4 Thank you very much for all your help.Edit:There is alot to do to make this work. Im just wondering, is it a performance difference of doing this or is it just as good to run this in 32-bit mode?