Smith David G \(Finance\) wrote:
> Is there a way to determine the version of Delphi used to compile a
> program by examining the executable?

Explicitly? No. You can try reading tea leaves, though:

Borland's compilers used to include a copyright string in the program to
cover Borland's code. As far as I know, those are still included now. You
can determine the Delphi version by the dates in the copyright message.

If the program uses run-time packages, then you can know the Delphi
version by which RTL and VCL packages the program links to.

You can also make some guesses based on what properties appear in the DFM
resources since each Delphi version introduced new properties that would
frequently cause problems for older compiler versions.

None of these suggestions will distinguish between professional or
enterprise, or reveal the update level.

What are you trying to accomplish, anyway?

-- 
Rob




-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to