AV when accessing UserSession

delphi package - automated exception handling

Re: AV when accessing UserSession

Postby ZSL » Fri Jan 05, 2018 5:11 pm

The Intraweb development team is trying to contact you will you please respond to them.
ZSL
 
Posts: 36
Joined: Thu Mar 31, 2016 11:23 pm

Re: AV when accessing UserSession

Postby madshi » Fri Jan 05, 2018 5:22 pm

I'd love to. I've searched my emails for "IntraWeb" and "Atozed" but can't find any recent emails from them, not in Trash or Spam folders, either. How did they try to contact me? Best way would be through madshi (at) gmail (dot) com.
madshi
Site Admin
 
Posts: 9545
Joined: Sun Mar 21, 2004 5:25 pm

Re: AV when accessing UserSession

Postby ZSL » Sun Feb 04, 2018 7:46 pm

Iso there any progress on fixing this issue?

I will appreciate an update...
ZSL
 
Posts: 36
Joined: Thu Mar 31, 2016 11:23 pm

Re: AV when accessing UserSession

Postby madshi » Mon Feb 05, 2018 11:02 am

I received an email from Atozed in January with a modified madIWSupport.pas file. It worked fine for me, but with a little caveat (see below). I've now modified madIWSupport.pas to optionally either use my old hacked solution (which works for me with the latest IW version), or the official IW exception callback. You can choose by defining or undefining the "{$define useIWExceptionCallback}" at the top of madIWSupport.pas. See attached test project.

Here's the little caveat: When using IntraWeb's new exception callback, the test project produces a popup "ds1: Cannot perform this operation on a closed dataset". When using my dirty hook solution, this popup does not appear. To be honest, I'm not 100% sure if the average IW user would want this popup to appear or not. What do you think?

I've reported this caveat to Atozed, but haven't heard anything back.
Attachments
iwprj1.zip
(91.11 KiB) Downloaded 3 times
madshi
Site Admin
 
Posts: 9545
Joined: Sun Mar 21, 2004 5:25 pm

Re: AV when accessing UserSession

Postby ZSL » Mon Feb 05, 2018 8:01 pm

Thanks. 8 will try it and I will also followup with AtoZed
ZSL
 
Posts: 36
Joined: Thu Mar 31, 2016 11:23 pm

Re: AV when accessing UserSession

Postby madshi » Mon Feb 05, 2018 8:07 pm

Great, let me know how it goes.
madshi
Site Admin
 
Posts: 9545
Joined: Sun Mar 21, 2004 5:25 pm

Previous

Return to madExcept

Who is online

Users browsing this forum: No registered users and 3 guests