madExcept 5.1 C++Builder10.4 win32 dll no effect

delphi package - automated exception handling
Post Reply
ttt
Posts: 3
Joined: Sat Aug 14, 2021 5:14 am

madExcept 5.1 C++Builder10.4 win32 dll no effect

Post by ttt »

madExcept 5.1 C++Builder10.4 win32dll file no effect
can't show error code line no.
exe is ok.

project1.exe ,can show error line.
project1.dll, can'not show error line.
Attachments
20210814134237.png
20210814134237.png (5.12 KiB) Viewed 2996 times
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: madExcept 5.1 C++Builder10.4 win32 dll no effect

Post by madshi »

C++ support is not as good as Delphi support. But it should still be possible to make it work somehow.

Try adding a try..catch around the code that might be crashing in the DLL. And then in your catch block call madExcept::HandleException(). See top of this page:

http://help.madshi.net/HowToUseMadExcept.htm
ttt
Posts: 3
Joined: Sat Aug 14, 2021 5:14 am

Re: madExcept 5.1 C++Builder10.4 win32 dll no effect

Post by ttt »

thanks
Post Reply