My program don't start on WCE ... Why ?

R

Romain TAILLANDIER

Hi group !

I am developping a standart Win application. Until now it start and work
correctly.
But now it don't start. if I write just a MessageBox in the main, the
message doesn't appears.

If i try with an old version of the appli (the yesterday version) it is work
correctly.

I asked myself if the .exe is too big. but i don't think so because it size
48ko (less than Word Pad, (77Ko) which start correctly).
Others applis of mine still work, but not this one.
It is not seems to be a bug, because if it were a bug i get an exception or
something, and my messagebox would popup.

Here i have nothing, just like WCE don't *want* to start the app.
the CTRL+ALT+SUPP don't show my app running.

Any Idea ?
It is drive me crazy !


ROM
 
P

Pete Vickers [MVP]

Hi,
have you added more controls to the form - you may have gone over the limit.
This would cause it to crash before your messagebox

Pete
 
R

Romain TAILLANDIER

No. there is just a few controls (a listbox, 3 checkboxes and 2 buttons).
and I didn't add more since the startable version. the only thing i add is 6
cases in a swicth, and 6 methods (50 method in the whole class). but
removing case and methods don't solve the problem.

If i get back my code by removing manually all modifications since the last
startable version it still don't work !

it is really strange.

And i do this :
public static void Main()
{
MessageBox.Show("hello");
Application.Run(new MyWinApp());
}

and i don't have the messagebox appears.

I have no idea
ROM
 
C

Chris Tacke, eMVP

Sounds like the framework is confused. Try hard resetting the device.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
R

Romain TAILLANDIER

In fact my system is loading each time i try a new compilation of the
program.
It is on a compact flash card, and WCE is loading by a NK.bin (loadcepc)
file containing an image of the whole WCE system. I am not the master of the
image (given by the constructor), and it containing the Compact framework
itself, which unsure that it is exactly the same system each time i boot my
WCE.

others ideas ?? :)
 
R

Romain TAILLANDIER

Hi group !

So i have found what the problem was :
I have pass from OpenNetCF 1.3 to 1.4.

So i change all the DLL, and it work.

But i still don't anderstand why i don't get an TypeLoadException or
something ??
any idea ?

ROM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top