From: "Damián M. González" Date: 2012-06-11T21:44:56+09:00 Subject: ffi - Popping image on top of the screen Ey guys, how are you? I`m developing an application in Ruby, using FXRuby as framework. The fact is that the app take 18 seconds to show the GUI when it start to run, so it's too much time to wait for the user without see any sign who can tell him: "yes...the application is loading, wait for a while 'till the GUI appear", so I decided to use a feature of FXRuby who is supposed to show any kind of image in the screen while the GUI is loading. Now here is the real trouble: This Image take 15 seconds to show up and 3 seconds more from that point the GUI is showed up, so I still have 15 seconds without nothing in the screen....nothing that can tell the user that the application is loading. There's no way to accelerate this process, trust me, I did many test: the simplest application will take 15 seconds to initialize, a simple window or image or wathever will take 15 seconds at least. I was wondering if using 'ffi' gem can call some windows .dll(Yes, I'm developing in Windows XP for Windows XP) function, meaby some function of the gdi32.dll or user32.dll which can allow me to pop up a .png image on top of the screen until the GUI application is ready to be show. If anybody know of a function who can do that or any other way to do that let me know please, I'll realy appreciate your help, thanks. -- Posted via http://www.ruby-forum.com/.