A “random exception” usually means an exception that is handled by user code. If you use Vosual Studio and the Windows Mobile emulator for debugging, you can turn off exception handling. Go to Debug> Exceptions and check the Thrown column for Win32 exceptions. Then run the program and try to crash again.
When debugging starts, it stops execution and is interrupted by the debugger when it falls into this "first chance exception", allowing you to see what causes it and see if it is related.
The library 'netcfagl3_5.dll' is part of .NET CF, not your code, so you cannot match debugging characters.
source share