Re: Windows CE 5.0 exception error, but not if message box is in place. Help!?!
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 29 Dec 2008 09:26:40 -0700
You're starting the application from Explorer? *Not* at startup of the
device? My first guess is that the application/run-time is trying to do
something that is not yet ready to be done, as far as the operating system
is concerned.
Paul T.
"JaffaB" <jaffa_brown@xxxxxxxxxxx> wrote in message
news:b82d4894-9161-4010-add1-82c50ffa54e2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
All,
I have a visual Studio 2003 application which has worked for years on
Windows CE devices 3.5 to 4.0. Recently, I have started running in on
a new device running Windows CE 5.0, and in one form, after the form
has been drawn, I get the following error appear in a pop-up error
message:
A native exception occurred.
ExceptionCode: 0xc0000005
ExceptionAddress: 0x013146ac
Reading: 0x14000028
Now, the application continues to run, so if I tap on my application
to bring it to the foreground, it will continue without any other
errors (with the pop-up Exception error still on screen, but behind
all the other windows so you cant see it).
What is making this really difficult to trace is that if I change my
code, so that after the screen has been drawn, and just before the 1st
prompt on screen is given focus to say produce a trace message such
as:
MessageBox.Show("Here", "", MessageBoxButtons.OK,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1);
The here pop-up ?Here? message appears, and no Exception error.
Without this pop-up, I get the exception error.
I have tried putting a pause and a refresh in place of the ?Here?
message (such as):
System.Threading.Thread.Sleep(1000);
this.Refresh();
In this case, whilst the screen appears ok, the exception still
appears.
This only occurs in Windows CE 5.0 devices.
Does anybody know what is going on, and how I can locate and remove
this exception error?
Many thanks in advance
Jaffa
.
- References:
- Prev by Date: Re: How to open the network card dialog in my program?
- Next by Date: How do I install DixX codec on my WinCE 5.0 platform
- Previous by thread: Windows CE 5.0 exception error, but not if message box is in place. Help!?!
- Next by thread: How do I install DixX codec on my WinCE 5.0 platform
- Index(es):
Loading