Tag: Delphi

Auto Increment Version Information Pre-build tool for Delphi XE2 using VerInfo

Auto Increment Version Information Pre-build tool for Delphi XE2 using VerInfo

In Delphi XE2, the “Auto Increment build number” of Version Information is changed to Auto generate build number, replace Release and Build part with random numbers which is actually a time stamp of the time it’s generated.

How to check compression type by reading header file not by extension

How to check compression type by reading header file not by extension

Without the compression tool itself, we can identify the type of compression file by its extension, whether it’s a ZIP, RAR, 7Z, etc.

And the other way is by reading some bytes of the top part of the file. Each compression tool’s type has its own signature, usually in the first some bytes, which we can see if we open the file in Hex View as image above.

Scroll to Top