views:

137

answers:

1

Hi,

I am trying to write a program for a chinese PNA device with wince 5.0. But everytime I write a simple program in VS8 with C# and 'deploy' it to my device it just doesn't run. First it complains about disposing an object call menu, although I don't want an menu but VS8 just creates one for me. If I delete the menu from the form the program gives an exception. I installed a program call MIOPocket on the PNA with has powertoys some games and MS media player. It also creates a directory .net framework 3.5 so I known 3.5 is installed and must be working. But I think I am missing something. I am also not sure what to choice as target device ; windows mobile or WINCE. If I click the .exe file under win7 it works but under wince its a no go.

Maybe someone has a clue what is going wrong ?

A: 

One point here: Windows CE and Windows Mobile are not the same platform at all really.

I do not think windows mobile is the right platform to target for a 'PNA' (personal navigation assistant?), so I would start with making sure the project - from it's very beginning, from it's creation in VS - is targeted for windows CE. I have not had much success trying to convert Windows Mobile projects to Windows CE ones (even by notepad-level changes to the csprj file).

The menu is a result of it being a windows mobile project, the standard on a WinMo device being a softbutton menu or two displayed on the bottom of the screen. The menu being tied to the softbutton key press stuff ... specific to WinMo. Also: some of the libraries it might expect linked for GSM stuff would probably engender all sorts of problems.

Aidanapword

Aidanapword