Recently I had a very hard to find bug-problem with closing my application (made in Delphi). It just refused to respond to Windows shutdown messages and prevented Windows to shutdown and restart..
I spent a lot of hours investigating this problem. Initially the first part of the problem, because [...]
Archive for the ‘Delphi tips’ Category
Be careful with FormCloseQuery
Posted in Delphi tips, tagged FormCloseQuery WM_QueryEndSession on September 7, 2009 | Leave a Comment »
Saving and Loading strings in stream the Delphi 2009 way
Posted in Delphi tips, tagged Delphi 2009, Strings Write Read Stream on March 27, 2009 | Leave a Comment »
Lately, I had a simple task to save and load some short strings in file. The quickest and fastest way is to do it with streams (TFileStream or TMemoryStream).
Because in Delphi 2009 string type strings are Unicode so they are also double byte sized than in previous Delphi strings. [...]
FileStream Create error in Delphi
Posted in Delphi tips, tagged FileStream Create Error on April 16, 2008 | Leave a Comment »
I’ll share some tip on File Creation in Delphi. Some day I had to make a solution to create same file stream a lot times in a cycle and to show it at regular intervals (it was opened in another application). Well, if file is already created and time interval get’s too short, you [...]