I have a simple windows application that calls third party native library. The program works fine, but I get an access violation exception when I close the program. I first thought the problem was with 3rd party dll. I get the exception only if my exe is residing under "C:\Program Files". If it is under "C:\", I dont get the exception.
any ideas?
thanks
Moved bySheng Jiang 蒋晟Thursday, July 10, 2014 6:06 PMnative interop
Hmya, this is classically how unmanaged code bombs. It doesn't have the rich exception model that managed code has, the exception you got doesn't tell you anything that helps you diagnose the problem. You'll have to contact the vendor of the library for support, it can only be debugged with source code. Hans Passant.
Marked as answer bynobugzTuesday, June 23, 2009 5:40 PM