Recent

Author Topic: small "bug" in fp_gdi.pas fpgui crash when PC wakes up from sleep  (Read 2658 times)

dieselnutjob

  • Full Member
  • ***
  • Posts: 141
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.

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: small "bug" in fp_gdi.pas fpgui crash when PC wakes up from sleep
« Reply #1 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)
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/