views:

111

answers:

2

Hi, I write applications for Windowe ME and CE in C# .NET 2.0. Sometimes I’ve got problems because applications don’t work on some navigation devices. On Windowe ME it is not problem because .NET can be installed from a cab, but on most Windows CE devices it is impossible because after soft reset all changes disappear. I found out that in most difficult cases good solution is to put all dll-s belonging to .NET installation cab in the folder where the application runs and everything work well. However there are some devices for example Navroad NR460 (Windows CE 5.0) on which none of .NET applications work (it is funny because previous and next version of that navigation works well). I didn’t found on this device cgacutil.exe program. Is this possible to force the device to run any .NET application without installing the Windows again? What should I try to do to check if running .NET a applications is possible? What conditions should be fulfilled to run easiest application written even in .NET 1.0

A: 

If cgacutil.exe is not on the device, .NET CF is not installed on it. The Windows CE .NET CF 2.0 cab file is, on my machine, located here: C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce500\armv4i\NETCFv2.wce5.armv4i.cab

To read the .NET CF version on your device, you can use this registry key: [HKEY_LOCAL_MACHINE\Software\Microsoft.NETCompactFramework]

I am not sure if it exists if you don't have .NET CF installed on your device. Officially, private installation of .NET CF will not work, but in some cases it surprisingly does.. I would not rely on it though.

A: 

Thanks for your answer. I do have on my machine registry key HKEY_LOCAL_MACHINE\Software\Microsoft.NETCompactFramework with the value 2.0.5238.00. However the files ware removed “by mistake” by the designer of the machine. As I wrote before there is no way to install NETCF from the cab file. Do you know where I can read about “private installations” – I am looking for such solutions for a long time and haven’t found anything.

KZChris