[DUG] Detecting version of running app
Jeremy Coulter
jscoulter at gmail.com
Wed Nov 9 14:54:47 NZDT 2011
This thread is starting to look like some of the ones I saw on Google sites
:-) Getting the "file" version is not the point.
Its getting the version of a RUNNING application when you dont know where
its running from to use GetFileVersion and pass the filename too.
Its ok tho, I have found a solution of sorts.
Jeremy
On Wed, Nov 9, 2011 at 2:10 PM, Robo <robo555 at gmail.com> wrote:
> The attached code is what we use to get the version number of a file. Call
> the GetFileVersion method.
>
> Robo
>
> On Wed, Nov 9, 2011 at 1:56 PM, Jeremy Coulter <jscoulter at gmail.com>wrote:
>
>> Hi All.
>> I have a situation where I need to get the version of an app that is
>> running. I know the name of the exe and various classes in the app. and can
>> do things like findwindow() etc. etc.
>> However, we have just discovered that the exe being used to extract the
>> version of the exe is NOT the same exe that is running !! and its this one
>> we need the version number of.
>>
>> Can anyone help? (Google didnt help me this time)
>>
>> Jeremy
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20111109/2c02feb5/attachment.html
More information about the Delphi
mailing list