Tips to Determine Whether an App is Written in Delphi or Not Edit
- Right click on an application’s icon in the task bar. VCL applications only show 3 menu items by default. Restore, Minimize and Close. This won't help you determine whether C++Builder or Delphi was used but it narrows it down to the same product family from Borland. This doesn't work in Delphi 2007 and later. By default, the line "Application.MainFormOnTaskbar := True;" is included in the DPR, which shows the full context menu in the task bar.
- Use Robert Kozak's IsDelphi utility to determine if an app was written in Delphi 1 to 5. (note: does not report SKU properly)
- Use Bruce McGee's IsDelphi to search your hard drive for applications written in Delphi, Delphi for .Net. or BCB. Source code is included.
- Use Borland's VCL Scanner utility. The link in the article is out of date. Source code can be found here.
- Use Language2000. The original link is invalid, but a download can still be found here. This utility is a bit older, but it has the capability of detecting compilers other than Delphi
- Use Daniele Teti's TDWinInfo (download at Daniele's web site or search on http://www.torry.net) to determine the components used in an application. If the application uses many components that begin with "T" then in all likelihood it is a Delphi application because this naming standard is used by Borland's VCL and most developers who use Delphi. There is also a possibility that the application could have been developed with C++Builder.
- Use STUD_PE to determine the compiler. Works for Delphi 1-7 and maybe higher. Program is usually updated frequently with exe stud databases to determine the latest compilers that created the EXE.
- Use PEiD tool to determine the compiler of the target. There is also a plugin that show the used units, if any, in the project. http://www.secretashell.com/codomain/peid/ & http://www.secretashell.com/BobSoft/#Plugins
- Use PE Detective to scan the target. PE Detective is included in NTCore's Explorer Suite. http://ntcore.com/exsuite.php
The VCL Scanner, Bruce McGee's IsDelphi and the TDWinInfo utility will also pick up applications built using C++Builder. So to determine that it is written in Delphi you should attempt to verify this by obtaining some inside information from one of the developers of the software rather than just assuming it is built using Delphi.
If you are still not sure whether an application has been written in Delphi or in C++Builder, then put it into the Delphi list and add a note in the description: "NOTE: This may actually be a C++Builder app."