This thread will help you I think:

https://forums.embarcadero.com/thread.jspa?threadID=42281

Basically, get the PID of the running EXE, from that obtain/determine the
full filename of the EXE for that process then proceed as normal to extract
VERSIONINFO from an EXE file.

hth


On 9 November 2011 13:56, Jeremy Coulter <[email protected]> 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: [email protected]
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [email protected] with
> Subject: unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to