This thread is starting to look like some of the ones I saw on Google sites :-) Getting the "file" version is not the point.<div>Its getting the version of a RUNNING application when you dont know where its running from to use GetFileVersion and pass the filename too.</div>
<div>Its ok tho, I have found a solution of sorts.</div><div><br></div><div>Jeremy<br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 2:10 PM, Robo <span dir="ltr"><<a href="mailto:robo555@gmail.com">robo555@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The attached code is what we use to get the version number of a file. Call the GetFileVersion method.<br><br>Robo<br><br>
<div class="gmail_quote"><div><div></div><div class="h5">On Wed, Nov 9, 2011 at 1:56 PM, Jeremy Coulter <span dir="ltr"><<a href="mailto:jscoulter@gmail.com" target="_blank">jscoulter@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">Hi All.<div>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.</div>
<div>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.</div>
<div><br></div><div>Can anyone help? (Google didnt help me this time)</div><span><font color="#888888"><div><br></div><div>Jeremy</div>
</font></span><br></div></div>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz" target="_blank">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz" target="_blank">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br></div>