Category Archives: RAD Studio 10.2 Tokyo

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

PNG Components and Tokyo

This week I received an email from Uwe Raabe that he has updated his png components under bitbucket. That’s why I just updated the TurboPack version under GitHub. As I mentioned in a previous post the RAD Studio 10.2 Tokyo … Continue reading

Posted in C++-Builder, Delphi, RAD Studio 10.2 Tokyo, Third Party Components, TurboPack, TurboPower | Comments Off on PNG Components and Tokyo

TFile.Size 2.0

Yesterday I got a suggestion for a better implementation for TFile.Size from Stefan Glienke. Many thanks for it, Stefan. In order to make the code compatible to other functions in System.IOUtils, I modified it in the way that I’m raising … Continue reading

Posted in C++-Builder, Delphi, RAD Studio 10.1 Berlin, RAD Studio 10.2 Tokyo, Uncategorized | Comments Off on TFile.Size 2.0

TFile.Size

I use very often the System.IOUtils units with the wonderful classes/records TPath, TDirectory and TFile. They are much more comfortable than the old functions from System.SysUtils like FindFirst etc.. But there is one method I’m really missing: It is the … Continue reading

Posted in C++-Builder, Delphi, RAD Studio 10.2 Tokyo, Uncategorized | Comments Off on TFile.Size

RAD Studio 10.2 Tokyo and TurboPack

Maybe most of you already heard that the next release of RAD Studio will be 10.2 Tokyo. Additionally to supporting Win32, Win64, MacOS, iOS and Android RAD Studio 10.2 Tokyo will support Linux64. As always  I updated the TurboPack libraries … Continue reading

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, SourceForge, Third Party Components, Tips and Tricks, TurboPack, TurboPower | Comments Off on RAD Studio 10.2 Tokyo and TurboPack