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

  • Thread starter Thread starter Romain TAILLANDIER
  • Start date Start date
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
 
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
 
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
 
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
 
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 ?? :)
 
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
 
Back
Top