Monthly Archives: April 2017

Converted dfm to Text Format

Today Stefan Glienke mentioned at Google+ that there are some libraries which still use the binary format for dfm files. This is an issue since it is nearly impossible to recognize the changes in your vcs. I do remember old … Continue reading

Posted in C++-Builder, Delphi, RAD Studio 10.2 Tokyo, Third Party Components, Tips and Tricks, TurboPack, Uncategorized | Comments Off on Converted dfm to Text Format

Free Capacities

Hi all, I currently have free capacities. I’m looking for remote contract work. I’m a specialist in all Delphi versions, particularly components, SQL databases, ORM and multi-threading. — Thanks, Roman

Posted in C++-Builder, Delphi, FireMonkey, RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Third Party Components, Tips and Tricks, Uncategorized | Comments Off on Free Capacities

Supports

This week I had to maintain some legacy code that uses many interfaces and supports in order to find out if a specific interface is supported: type IMyInterface = interface(IInterface) [‘{F500EEDD-032E-4D15-A8C0-EFF673C2AF01}’] procedure DoSomething; end; procedure MyProcedure(const AIntf: IInterface); implementation uses … Continue reading

Posted in Delphi, RAD Studio 10.2 Tokyo, Tips and Tricks, Uncategorized | Comments Off on Supports

FreeAndNil

There are a lot of articles about the use and abuse of FreeAndNil but there is one point I really don’t like about FreeAndNil: It is not type-safe. Let’s have a look at the implementation: { FreeAndNil frees the given … Continue reading

Posted in Delphi, RAD Studio 10.2 Tokyo, Tips and Tricks, Uncategorized | Comments Off on FreeAndNil

VirtualTreeView Version 6.6.0

I just updated the TurboPack version of the VirtualTreeView to the version 6.6.0 and asked Embarcadero to update GetIt.

Posted in Delphi, RAD Studio 10.2 Tokyo, SourceForge, Third Party Components, TurboPack, Uncategorized | Comments Off on VirtualTreeView Version 6.6.0

Nice Approach For Exception Safe Code

Maybe everyone knows the issue with code that is not exception safe. Let’s see an example: function MyFunction: TMyObject; begin Result := TMyObject,Create; Result.DoSomething; end; The function MyFunction returns an instance of an object which is normally no problem. But … Continue reading

Posted in Delphi, FireMonkey, RAD Studio 10 Seattle, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, RAD Studio XE5, RAD Studio XE6, RAD Studio XE7, RAD Studio XE8, Tips and Tricks | Comments Off on Nice Approach For Exception Safe Code