I was reading up on threads in FPC, and the wiki even mentioned them being used to prevent the GUI from locking up (which is what I wanted to do). I quickly stitched together the multithreaded example with my app (which is a simple image conversion program using fpimage), but the gui still hung when converting images, preventing the window from being moved and the progress bar from updating. I even made a thread whose sole purpose was to do Application.ProcessMessages every millisecond to ensure the darn thing would respond -- no luck.
So my question is: Does anyone have an actual example of preventing a GUI (currently on Windows) from locking up when executing a large chunk of code? Or does anyone feel like wading through my frankenstein code?
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
