<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Jan 2016 15:11:00 Z</lastBuildDate><pubDate>14 Jan 2016 14:16:00 Z</pubDate><description>Hi All&#13;
&#13;
I have an application which is updating various files throughout the day. It uses a thread for firing off update procedures. Occasionally I get a "security mechanism" triggered warning (see attached image). However, this dialog does not tell me what program and/or program line triggered the problem. Clicking the button offers no information that helps either.&#13;
&#13;
I can click OK or Cancel and the program continues just fine but obviously I want to trap and handle this without intervention.&#13;
&#13;
How can I find out the line triggering this issue?&#13;
[attachment 1850 wd20_error.png]</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp</link><title>[WD20] - Trapping Security Mechanism Issue</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55871/read.awp</comments><pubDate>14 Jan 2016 15:11:00 Z</pubDate><description>That was a good idea!&#13;
&#13;
Best regards,&#13;
Alexandre Leclerc</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55871/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55871/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55870/read.awp</comments><pubDate>14 Jan 2016 15:03:00 Z</pubDate><description>Alex - OK, I think I found it. Using HOnError() has allowed me to trap the error and a custom error handler using dbgInfo() has …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55870/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55870/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55869/read.awp</comments><pubDate>14 Jan 2016 15:03:00 Z</pubDate><description>Hi JP,&#13;
&#13;
Indeed, HModify() is the one to look for.&#13;
&#13;
Forget not that a colision like that can be hard to replicate without man…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55869/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55869/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55866/read.awp</comments><pubDate>14 Jan 2016 14:48:00 Z</pubDate><description>OK Alex. I have isolated just 2 locations of HModify() on this file in this particular sequence. There are no HSave() instructio…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55866/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55866/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55865/read.awp</comments><pubDate>14 Jan 2016 14:44:00 Z</pubDate><description>Hi JP,&#13;
&#13;
You are best placed to know where it comes from :). It obviously is at a given line where there is a HSave() on the Wi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55865/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55865/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55864/read.awp</comments><pubDate>14 Jan 2016 14:33:00 Z</pubDate><description>Alex, thanks. When I run an update to this file the thread is paused/stopped so I dont think the thread is the issue. The proble…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55864/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55864/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55862/read.awp</comments><pubDate>14 Jan 2016 14:25:00 Z</pubDate><description>Hi JP,&#13;
&#13;
This is probably fired from your thread where you modify the Window_Master file. This tipical case is on the HSave() l…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55862/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue-55862/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55858-wd20-trapping-security-mechanism-issue/read.awp">[WD20] - Trapping Security Mechanism Issue</source><title>Re: [WD20] - Trapping Security Mechanism Issue</title></item></channel></rss>
