Fix for Access Violation in u_dzAutocompleteStrings

A while ago I blogged about the various possibilities for auto completion in TEdits. I created several units that supply auto completion based on a StringList files directories path (basically also directories) They all followed a basic principle: Implement IAutoComplete and IAutoComplete2 and provide different implementations for the IEnumStrings interface. They worked fine in Delphi … Continue reading Fix for Access Violation in u_dzAutocompleteStrings

Blocking the Windows Screen Saver in Delphi

Sometimes your program needs to block the screen saver from automatically kicking in. My use case was that the program was recording data and whenever the screen saver was active, the data was lost (No idea why, it probably had something to do with the way HID is implemented in Windows.) So I was looking … Continue reading Blocking the Windows Screen Saver in Delphi