Fail to load the application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

In deploying the application to PDA, we encountered problems with some
specific PDA. It amazes that we can't load the application that is developed
using VSNET2003 (C#). However, for the application that is developed using
eVC 4.0 (C++), it can be loaded successfully.
That specific device runs Win CE.NET 4.2 Core version. The startup
application path is stored in .ini file.

My question is:
1. Does Win CE.NET 4.2 Core version automatically support CF 1.0?
2. If yes, does anyone have any experiences in deploying the application to
the devices with similar characteristics that I mentioned? Can we have the
examples using dummy application (C#) on how to do it?
3. If it is not supported, is there a way that we can check and update the
O/S to make it support Compact Framework?

Thank you in advance for the reply.

Regards,
Hendro Wijaya
 
If you are simply copying the file across, try instead with Visual Studio
(e.g. F5). You can do it over ActiveSync but best is to get the smart device
authentication utility and friends (search the archives).

The CORE license supports the NETCF. However, you must explicitly add it to
your image (e.g. in platform builder). To verify that you have installed it
correctly, browse to the windows folder on the device and look for
cgacutil.exe (if it is there, run it to see the cf version; if it is not,
you need to install the netcf)

Cheers
Daniel
 
No idea why you'd be amazed. Managed apps require the CF runtime, and since
CE is purely modular the OEM could chjoose to include it or not, whether
it's a Core or Pro license is not relevent. You can deploy it manually
(assuming you have space) or have to OEM include it in the image.

-Chris
 
Hi Daniel,

Thanks for your reply and sorry for my late response.

The problem is the application can't even run the cgacutil.exe when i put it
in a startup folder.
I would say this device is pretty much inflexible in its nature. We got two
directory, Windows and Storage Card. Inside Windows directory, I can see that
there is a cgacutil.exe. Everything in Windows directory is non-copy and
non-changeable. What we can do is only run the application from storage card
directory. I then copy the cgacutil.exe from other PDA and tried to run it.
But, it's not successful.

In addition, UP TO MY KNOWLEDGE 'TIL TODAY, I would say that it is unable to
be deployed automatically across using Visual Studio like what we used to do
in normal PDA.

At this stage, we ASSUME that the manufacturer did not include the CF in it
(eventhough there is a cgacutil.exe). Is there a way we can install it
ourself? Or maybe anyone has other ideas to solve the problem?

Oh yeah, we did try to communicate with the manufacturer, but, they're not
so sure about it because they deployed their application using embedded C++.

Thank you in advance for any replies.


Regards,
Hendro Wijaya
 
Hi Chris,

Thank you for your reply and sorry for my late response.

If possible, can i know how we can update the O/S ourself? What kind of
software that we need?
Thank you in advance for your reply.

Regards,
Hendro Wijaya
 
You still haven't exactly answered the question.

1. Could you run the existing cgacutil and see a msgbox with version info?
Forget copying it from another device...

2. Did you try deploying with Visual Studio (e.g. via AS or using the wince
tools)?

Cheers
Daniel
 
Hi Daniel,

1. I can't run the cgacutil that is come from the device.
2. I can't deploy it through VS. What I did is, using "Guest Partnership"
from AS, and copy + paste our own program into the Storage card directory.

Thank you for your reply.

Cheers,
Hendro Wijaya
 
Back
Top