Madshi madExcept in Delphi developed DLL

I have activated madExcept in a Delphi developed DLL
So I expect it should report exception in a file (I have defined it)
However when a crash occurs in the DLL, I get the traditional Exception box (in my case, access exception at address ...), not the one of Delphi !
And of course there is no file report
LVL 1
LeTayAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Geert GOracle dbaCommented:
Did you try activating it in the main project ?

you need to wrap each exported funtion in a try except if the main project is not compiled with mad except activated

see the help:
http://help.madshi.net/HowToUseMadExcept.htm
LeTayAuthor Commented:
The main project is also compiled with madexcept activated !
Sinisa VukSoftware architectCommented:
under Project choose madExcept settings. Check enable "madExcept" checkbox. Under auto actions - set automatically save bug report, set automatically continue application. Under exception filter: set don't pause the running thread... and other useful settings.
In dpr file add in uses before all:
uses 
  madExcept,
  madLinkDisAsm,
  madListHardware,
  madListProcesses,
  madListModules,
... //all other

Open in new window



...and try to disable dll thread. (DisableThreadLibraryCalls(hInstance))
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

LeTayAuthor Commented:
All that I did already previously, except the "set automatically continue application. "
Is that the problem ?
Sinisa VukSoftware architectCommented:
think not - this is a show/hide exception message. "automatically continue" will hide all exception messages - and continue on exception...
Geert GOracle dbaCommented:
did you try posting this in madshi's forum ?
he probably won't answer here anymore

his last post was in nov 2008 here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.