<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Oct 2016 07:13:00 Z</lastBuildDate><pubDate>6 Oct 2016 20:56:00 Z</pubDate><description>Hello All&#13;
&#13;
Over the last year I have noticed that code that previously worked fine sometimes stops working and I couldn't work out now until today.&#13;
The examples are very specific and are restricted to code in one window that references variables in a prior window.&#13;
&#13;
e.g. I set a global variable in the current window to false, open another window and in that window I reset the variable in the first window by direct reference as window1.variable = true&#13;
The normal reason for doing this is that something I do in the second window requires the first window to redisplay or recalculate some data.&#13;
&#13;
Yesterday a client lodged a support call for code running in this manner that was working fine and now throws an error 1020. The code works fine in my environment, both code and development.&#13;
&#13;
Previous examples of this type of failure include cases where the variable in the calling window just did not accept the value assigned to them in another window or just crashed.&#13;
&#13;
This time I had an inspiration and checked the patches I had sent to the client and the first window had been patched so I sent the client a patch that contained both windows and that fixed the problem.&#13;
&#13;
My conclusion is that the compiler incorporates other window calls in a way that causes problems if one window changes.&#13;
I have used this coding methodology for many years and I can't recall it being an issue so maybe something has changed in the compiler process in V20 This is a big problem if you code in the manner that I do with other window references as I will now have to test for calls to other windows before issuing a patch.&#13;
&#13;
Regards&#13;
Al</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more/read.awp</link><title>[WD20] previously working code doesn't any more</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/59844-wd20-previously-working-code-doesn-any-more-59931/read.awp</comments><pubDate>12 Oct 2016 07:13:00 Z</pubDate><description>Hi Yogi, in case 1 thought of that already - no joy. Case 2 has been solved, it really has been the data, not the program.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59931/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59931/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more/read.awp">[WD20] previously working code doesn't any more</source><title>Re: [WD20] previously working code doesn't any more</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59929/read.awp</comments><pubDate>12 Oct 2016 06:42:00 Z</pubDate><description>Hello Al and Guenter,&#13;
&#13;
In both these cases ask your clients to stop/pause/disable their antivirus application and then run you…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59929/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59929/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more/read.awp">[WD20] previously working code doesn't any more</source><title>Re: [WD20] previously working code doesn't any more</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59849/read.awp</comments><pubDate>7 Oct 2016 07:49:00 Z</pubDate><description>Hi Al, yes, with WD21 I'm experiencing strange things too and cannot locate any reasons. Previously, a compiled WD program used …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59849/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more-59849/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59844-wd20-previously-working-code-doesn-any-more/read.awp">[WD20] previously working code doesn't any more</source><title>Re: [WD20] previously working code doesn't any more</title></item></channel></rss>
