Lazarus

Programming => Widgetset => Other => Topic started by: dieselnutjob on August 14, 2014, 04:08:58 pm

Title: small "bug" in fp_gdi.pas fpgui crash when PC wakes up from sleep
Post by: dieselnutjob on August 14, 2014, 04:08:58 pm
Search for "WM_TIMECHANGE"

There is a writeln command in there which will crash your app if the PC goes into sleep mode whilst the program is running.

Just comment out the writeln command.
Title: Re: small "bug" in fp_gdi.pas fpgui crash when PC wakes up from sleep
Post by: Graeme on August 15, 2014, 12:16:42 am
That bug was fixed a couple months back. I assume you are using the released v1.0 code. Please clone the fpGUI repository instead and use the "develop" branch. Alternatively, go to my Github mirror where you can download the latest code from any branch (download link on the right side)
TinyPortal © 2005-2018