Recent

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

dieselnutjob

  • Full Member
  • ***
  • Posts: 217
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: 1428
    • 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/

 

TinyPortal © 2005-2018