There is a little trick for hiding the routine from the Delphi autocomplete: type TTest = class public procedure &&DoThat; end; procedure TTest.&&DoThat; begin end;
Author: Pascal.Today
Casting to record types and use of absolute
Everyone knows the possibility to cast the types explicitly in Delphi. Often we cast the Integer to Pointer, TObject or one class to another class
Forcing the linker to include your class
To force the linker to include your class into executable (often needed for RTTI) you can just write single line in the unit initialization to
Finding used but unimplemented interfaces
When reusing the implementation and interfaces between different tools/projects some of us face the problem getting run-time error about some interface implementation not found. It can
Finding duplicate GUIDs in interfaces
Sometimes when you are creating the architecture and defining the interfaces you can slick down to a copy-paste for a simple files (when you now it
Dependency Analysis
Introduction Dependencies – often underestimated thing in software development. When you are building the projects you build them from components, classes, routines etc. And each