开发者

Madexcept Bugreport location under Windows 7

开发者 https://www.devze.com 2023-02-27 12:36 出处:网络
I\'ve been using Madexcept for quite some time now and it work fine so far. I just noticed though that when I run my application under Windows 7 and an exception occurs, no bugreport.txt is being crea

I've been using Madexcept for quite some time now and it work fine so far. I just noticed though that when I run my application under Windows 7 and an exception occurs, no bugreport.txt is being created. Usually Madexcept saves the bugreport in the programm directory. Under Windows 7 the software should not have the right to do this, that might be the reason why there is not bugre开发者_C百科port being created. But I cannot find out how to change the location for the bugreport.


To change the location use:

uses madExcept;
// ...
 MESettings.BugReportFile := m_szLogPathName;

You can do this in your FormCreate and then any logs will be put where you want. Me, I choose the My Documents location.

0

精彩评论

暂无评论...
验证码 换一张
取 消