MadExcept Stopped Working in Project

delphi package - automated exception handling

MadExcept Stopped Working in Project

Postby mvieira2 » Tue Sep 27, 2016 8:11 pm

I have a project that makes MadExcept fail, but I can't figure out why. Here's the basic information:

* Delphi 2010 Version 14.0.3593.25826 (Update 4) on Windows 7
* MadExcept 4.0.16
* Until last week, MadExcept worked just fine with this project. Then it stopped working for this application only.
* If I create a new project and enable MadExcept, it works just fine.
* Already tried uninstalling MadCollection, then cleaning up the registry and file system for mad* entries, deleted the project's .mes, .dproj, .local and .identcache files, then rebooted and reinstalled MadCollection fresh.
* Already tried to enable the "debug" configuration, with detailed map file generation and conditional define of "madExcept".
* Confirmed that the conditional "madExcept" is defined by executing {$ifdef madExcept} ShowMessage('madExcept defined'); {$endif}
* The application does not have any exception handlers defined (like Application.OnException).

Where else can I look? Is there a list of known issues that would make MadExcept fail? Any possible interaction with, say, Jedi or Indy or any other popular component?

Thanks!

MV
mvieira2
 
Posts: 2
Joined: Tue Sep 27, 2016 7:50 pm

Re: MadExcept Stopped Working in Project

Postby madshi » Wed Sep 28, 2016 7:12 am

Have you tried a simple Button1Click "raise Exception.Create('test')"? What happens if you do that? Delphi's own exception dialog appears?

Try this:

1) Call RegisterExceptionHandler(stDontSync) and inside call "Windows.MessageBoxA(0, 'test', 'test', 0)". Does the message box appear if an exception is raised?
2) Create an empty file "madExceptWizard.txt" on your desktop, then recompile your project. Afterwards zip the file and attach is to this thread.
madshi
Site Admin
 
Posts: 9141
Joined: Sun Mar 21, 2004 5:25 pm

Re: MadExcept Stopped Working in Project

Postby mvieira2 » Wed Sep 28, 2016 1:19 pm

Yes, I had tried that and everything else. I finally found out what the problem was: the compiler output directory was on a network drive. Once I configured Delphi to save the .EXE file on the local disk, MadExcept started working again.

Thanks for your help, and for an excellent product.

MV
mvieira2
 
Posts: 2
Joined: Tue Sep 27, 2016 7:50 pm

Re: MadExcept Stopped Working in Project

Postby Zava » Mon Nov 14, 2016 8:50 am

mvieira2 wrote:Yes, I had tried that and everything else. I finally found out what the problem was: the compiler output directory was on a network drive. Once I configured Delphi to save the .EXE file on the local disk, MadExcept started working again.

Thanks for your help, and for an excellent product.

MV


I have exactly the same problem with the latest version of the madExcept 4.0.16 + Delphi XE7.
This is reproduced when I compile inside a virtual machine to a folder outside the VM what windows understands is a network drive.
It makes MadExcept not work well. :cry: :cry:

Do you have any plans to solve this problem?
Zava
 
Posts: 1
Joined: Mon Nov 14, 2016 8:41 am


Return to madExcept

Who is online

Users browsing this forum: uko and 3 guests