The developed software can create subforms via buttons, test normal under Win7, and crash under WinXP. So search the following post, did not talk about the direct solution, because there seems to be no direct solution to the way.
You can catch the exception by setting it inside, and then parse the code.
Original address
' First-chance exception ' usually means an exception that have been handled by user code. If you ' re using the Vosual Studio & the Windows Mobile emulator for debug then you can turn off exception handling. Go to Debug > Exceptions and check the ' thrown ' column for Win32 Exceptions. Then run, the program, and try and get it to fall over again.
When the debug runs it would halt execution and break to the debugger then it hits that ' first-chance exception ' allowing Y OU to see what's causing that, and see if it's in the any-related.
The ' Netcfagl3_5.dll ' library is part of a. NET CF, not your code, and which is so you can ' t match up the debug symbols.
My error message is as follows: First-chance exception at 0X00B59CBC in magnetic form. exe:0xc0000005:access violation reading location 0xfeef000a.
After catching an exception, locate as
Win7 The solution is to speak OnClose in the delete[] this delete, but to the XP still does not solve the problem ....
So the program crashed, and I was devastated.
First-chance exception at 0X782260EC in xxx.exe:0xc0000005:access violation