<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>30 Jan 2016 15:12:00 Z</lastBuildDate><pubDate>29 Jan 2016 01:13:00 Z</pubDate><description>Hi everyone,&#13;
&#13;
I am trying to make windev get each image file in a folder and do animation one by one infinitely (until I ask it to pause or stop).&#13;
&#13;
I create a ParallelTask and pass image control as a parameter.&#13;
Windev just crashed and show me the error info. Also, I think the source code of windev do a trace here.&#13;
&#13;
Here is my code:&#13;
//End of initialization of WIN_RearVideo:&#13;
ParallelTaskExecute(AnimateImage,(WIN_RearVideo.IMG_Image))&#13;
&#13;
//Global Procedure&#13;
PROCEDURE AnimateImage(c is Control)&#13;
sImageDirectory is string = gsDisplayImagePath + "\*.*"&#13;
fImage is Image&#13;
ResFileList is string&#13;
bFlag is boolean = True&#13;
nDuration is int = 1000&#13;
&#13;
IF sImageDirectory &lt;&gt; "" THEN&#13;
ResFileList = fListFile(sImageDirectory, frRecursive + frInterruptible)&#13;
//while bFlag&#13;
FOR EACH STRING sAFile OF ResFileList SEPARATED BY CR&#13;
IF fIsImage(sAFile) THEN&#13;
fImage = sAFile&#13;
c = fImage&#13;
AnimationSetParameter(c, "TwoWays", True)&#13;
AnimationSetParameter(c, "Duration", nDuration)&#13;
Wait(nDuration)&#13;
END&#13;
END&#13;
//end&#13;
END&#13;
[attachment 1857 error1.jpg]&#13;
[attachment 1858 error2.jpg]&#13;
&#13;
&#13;
I don't trace anything like that in my code. Is this a windev bug?&#13;
If I make this global procedure automated(Timer/Scheduled procedure), windev would tell me that control can not be converted to image.(I guess it is this part "c = fImage") (But if I don't make it automated, it works fine).&#13;
If I used thread instead of parallel task, WIN_RearVideo would disappear. (Not sure why)&#13;
How do I get around this thing and get my image work?&#13;
&#13;
Thank you!&#13;
&#13;
Bruce</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug/read.awp</link><title>WD20 About image files animation (May be Windev bug)</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/56114-wd20-about-image-files-animation-may-windev-bug-56161/read.awp</comments><pubDate>30 Jan 2016 15:12:00 Z</pubDate><description>Danny&#13;
&#13;
It could be the racing time issue. Why not give it try loading JPGs in memory&#13;
and timer should do the job or lessen si…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56161/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56161/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug/read.awp">WD20 About image files animation (May be Windev bug)</source><title>Re: WD20 About image files animation (May be Windev bug)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56157/read.awp</comments><pubDate>29 Jan 2016 19:05:00 Z</pubDate><description>Hi Danny,&#13;
&#13;
I tried your method, but it looks like the image control will crash when I use timer. I will manually write a loop …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56157/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56157/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug/read.awp">WD20 About image files animation (May be Windev bug)</source><title>Re: WD20 About image files animation (May be Windev bug)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56156/read.awp</comments><pubDate>29 Jan 2016 19:02:00 Z</pubDate><description>Hi Guenter,&#13;
&#13;
Sorry about the confusion. I didn't put those images together into a single GIF. I get each one of them and show …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56156/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56156/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug/read.awp">WD20 About image files animation (May be Windev bug)</source><title>Re: WD20 About image files animation (May be Windev bug)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56121/read.awp</comments><pubDate>29 Jan 2016 09:36:00 Z</pubDate><description>Hi,&#13;
&#13;
If you are doing GUI in the parallel task, this would crash because GUI stuff needs to be done on the main thread of the …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56121/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56121/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug/read.awp">WD20 About image files animation (May be Windev bug)</source><title>Re: WD20 About image files animation (May be Windev bug)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56117/read.awp</comments><pubDate>29 Jan 2016 06:43:00 Z</pubDate><description>Hi, just a question: why don't you put those images together into a single animated GIF image?</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56117/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug-56117/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56114-wd20-about-image-files-animation-may-windev-bug/read.awp">WD20 About image files animation (May be Windev bug)</source><title>Re: WD20 About image files animation (May be Windev bug)</title></item></channel></rss>
