I've downloaded and installed the latest madCollection package and I noticed a major problem:
1. I created a new application
2. ... added a MadExceptionHandler component on the form
3. ... created an empty OnException event handler (just a comment so Delphi does not remove it)
4. ... added a button which raises an exception.
When I raise the exception the Delphi IDE always either says my app has caused an AV and showing the CPU window (but no specific code location) or the integrated debugger shows line 484 in madTools.pas.
If I run the application from the Explorer (without Delphi debugging it) it gets closed instantly when I raise the exception.
I've tried to reinstall the madCollection and I also removed all packages except the mad* packages and the Delphi Standard Components package, but nothing has helped.
Can anybody help me?
I'm using Delphi 7 Professional. I've used madExcept during the last months and I've never experienced any problems with it.
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
procedure TForm1.MadExceptionHandler1Exception(frozen: Boolean;
exceptObject: TObject; exceptAddr: Pointer; crashedThreadId: Cardinal;
var bugReport, screenShot: String; var canContinue, handled: Boolean);
I've been able to solve this problem:
1. Uninstalled madCollection
2. Deleted the installation folder, which still contained most of the files (!)
3. Reinstalled madCollection
After that everthing works fine again
My quick guess is, that the installation programm did not overwrite all of the files it should to. That could explain the mysterious behaviours and it also explains why not all files are removed after uninstall.
Anyway, thanks for your help and your great piece of software