What are some techniques for troubleshooting very intermittent Access Violation on a Windows Mobile Device?

前端 未结 2 1817
不思量自难忘°
不思量自难忘° 2021-01-01 05:30

I have a large Compact Frameworks V2.0 application that in most cases works very well. On certain devices about once a day, a user receives a Native Error 0xC0000005 that i

2条回答
  •  旧时难觅i
    2021-01-01 06:32

    My native C++ exception handling was not including async exception, and thus was not catching access violation exceptions.

    This may/may not be helpful for my problem, but might be helpful for others.

    Using the /EHa switch as documented in this link will allow for catching these types of exceptions:

    http://msdn.microsoft.com/en-us/library/1deeycx5.aspx

提交回复
热议问题