3

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 bugreport being created. But I cannot find out how to change the location for the bugreport.

Michael Küller
  • 3,982
  • 4
  • 22
  • 42

1 Answers1

9

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.

mj2008
  • 6,647
  • 2
  • 38
  • 56