Native exceptions

N

ntl

Has anybody had any experience resolving the following native exception :-

Exception code: 0xC0000005
Exception Address: 0x01fc1b58
Writing: 0x0c0ae000

I'm using Visual Studio 2003 with the compact framework on a Pocket PC 2002.
I'm using a library with my code that does use unmanaged code.
What I want to do is track down the interop call that's causing the problem,
if indeed, it is the library. I just need some clues ?
Is there anyway of referencing the exception address back to the program
executable to get the method call ?
 
G

Ginny Caughey [MVP]

Have you tried stepping the managed code through the debugger? That should
give you an idea what is being called when the native exception is thrown.
 
N

ntl

Hi Ginny.
Thanks for replying.
The problem is an intermittent one. Our customer informed me of the
problem, which, I have been unable to reproduce.
Logging the program position and parameters going too library calls may
help, but this is a time consuming operation and may require some luck.

I'm getting a bad feeling about native exceptions, they leave you to
exposed.
 

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