Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In upgrading my Windows CE device, I ran into an issue ("can't find...sqlceme35.dll") that led me to this and this

I tried copying what are apparently the three key CAB files:

sqlce.ppc.wce5.armv4i.CAB
sqlce.repl.ppc.wce5.armv4i.CAB
sqlce.dev.ENU.ppc.wce5.armv4i.CAB


...from my PC to my handheld device, into the "Windows" folder on the device. When I then tried to install those files (by selecting them on the device, and then selecting File > Open), though, I got, "The file "\Windows\sqlce/repl.ppc.wce5.armv4i.CAB" is not a valid Windows CE Setup file."

The same thing happened when I tried a File > Open on NETCFv35.wm.armv4i.CAB

One person noted, "...the only one that worked for me was to install the missing DLL manually. It is included in a CAB file located under C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices\<platform>\<processor>, but which platform and processor is the right one? I found the answer here: http://forums.microsoft.com/technet/showpost.aspx?postid=2594381&siteid=17. All Windows Mobile 5 and above devices are using sqlce.phone.wce5.armv4i.cab, so that’s the one you need to install. (So platform is wce500 and processor is armv4i.)";

I tried that, too - copying sqlceme35.dll onto the handheld device in my project's folder. But that did not help. I still got the same original err msg on trying to run my app ("can't find...sqlceme35.dll"). Is placement key? Should the .DLL go in some other folder?

I also tried changing my project's platform from "Any CPU" to "x86" based on this by the SQL CE Whisperer, but was only partially successful - I could select "<new>" in the "Active solution" combobox at the top of the Configuration Manager, but in the "Project.Configuration.Platform.Build" grid, the Platform dropdown only had an "Edit..." option, and wouldn't really allow me to Edit the existing "Any CPU"

So I end up with a Configuration Manager dialog that shows "Debug x86" above but "Debug Any CPU" in the grid...???

What recourse do I have at this point?

Note: I also tried a suggestion here where it says, Launch a Visual Studio command prompt, and you can use corflags.exe:
The flag you need to set is the 32BIT flag, so use a command line like this against your .exe file:


corflags C:\myprogram.exe /32BIT+

However, in VS 2008, I selected View Other Windows > Command Window (I could not find a regular-looking command prompt; this is a white-backgrounded Command Window that appears at the bottom of the IDE, not in a black-backgrounded floating window.

And when I entered there:
corflags C:\Handheld21\bin\Debug\HHS.exe /32BIT+

I got, Command corflags is not valid.
Posted
Updated 30-Oct-14 9:02am
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900