Every one of us has used the sorting in our applications. Rarely the sorting is implemented by ourselves. In most of the cases the IComparer<T>
Delphi Detours
The Detour library is an amazing way to mock the Delphi routines or apply run-time redirection of a function calls inside of the executable module. The library
Simple generic IPC
I will show the simple IPC example in this post using the generic implementation. The IPC consist of two parts: Server(s) sharing the data; Client(s)
Berlin 10.1.2 Vcl.ScreenTips compilation fail
After installing the official Delphi Berlin Update 2 I have faced nasty problem. One of my unit was using the Vcl.ScreenTips unit (for TScreenTipsWindow). And
Take care of CONST and interface parameters!
As one of the good guys (Agustín Ortu) recently pointed about one very tricky thing about const parameters and interfaces I decided that it is
Try or not to try
The widely used and a simple thing like exception handling is often done in a wrong way. There are documentation about try/finally and try/except statements of