PDA

View Full Version : Error when showing animated gif



Frank Cheng
23-Aug-2017, 11:03 AM
When displaying the following animated gif

http://www.animatedimages.org/data/media/1665/animated-work-machine-and-construction-equipment-image-0039.gif

I got the following error.

Referenced Array Index Out of Bounds

Error: 4509

MSG_PAINTNEXTFRAME (10890) - OGDIIMAGE (45) - at address 70229
MSG_PAINTNEXTFRAME (10890) - OANIMATEDGIFTIMER (46) - in native code
MSG_ONTIMER (10869) - OANIMATEDGIFTIMER (46) - at address 70035
MSG_ONTIMER (10869) - DFTIMERMANAGER (39) - at address 69956
MSG_CREATE_DIALOG (711) - O (42) - in native code
MSG_CREATE_DIALOG (711) - O (42) - at address 900
MSG_ACTIVATE (117) - O (42) - in native code
MSG_ACTIVATE (117) - O (42) - at address 1668
MSG_POPUP (290) - O (42) - in native code
[start] - at address 71852

Frank Cheng

DaveR
19-Oct-2017, 11:24 AM
Can I see the object(s) that you use for this? I have a little time to experiment.
I'm about to try a GIF splash screen and I haven't a current working example though I did have way back when I used the DSI classes.

Vincent Oorsprong
19-Oct-2017, 02:38 PM
Frank,

Just tried in my imagegallery example and it works correctly.

DaveR
21-Oct-2017, 09:53 AM
worked for me too. Now a successful start of our windows menu gets a splash screen, and an unsuccessful start gets a laurel and hardy gif ...