Fatal Application Error

A

Asim

Hi,
I am using VB (.NET 2003 v7.1) and Pocket PC 2002 device
to run my app.
I am getting the following error after calling Me.Close():
<error>
Fatal Application Error
Application xyz has performed an illegal operation and
will be shut down. ...
Program: xyz
Exception: 0x80000002
Address: 00918948
</error>

Problem description:
When I click on the close (minimise) button in the upper
right corner of the device, my application remains in
memory but the main form disappears (as expected). But
when I re-activate my application and try to exit by
clicking exit menu-item (I'm calling Close() method on
clicking exit menu-item) I get this error. This does not
happen if I exit without minimising the application.
Please Help.

Thanks and regards,
Asim.
 
A

Asim RPraveen

Yes, I have tried Application.Exit(). If I call Application.Exit(), the
excepion is shown momentarily and the app exits. But this does not
eliminate the exception. so I am looking at Application.Exit() as a last
resort.

Thanks,
Asim
 
J

Jonathan Wells [msft]

Hi Asim,

Are you p/invoking any native resources anywhere in your application? Have a
look at this google groups search for a little more background on the
"0x80000002" native exception:
http://groups.google.com/groups?hl=...ompactframework+0x80000002&btnG=Google+Search

j
--
Jonathan Wells
Product Manager
..NET Compact Framework
Check out the .NET Compact Framework FAQ at:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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