title: Getting application version from within application
body: <p>Is there a simple way of obtaining the application version information from the resource file at runtime? </p>
  
  <p>Effectively what I'd like to do is be able to have a "Version X.Y.Z" displayed at runtime without having a separate variable somewhere that I'd have to keep in sync with my ProductVersion and FileVersion.</p>
  
  <p>To clarify: yes this is a standard C++ Windows project. I am aware of the <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms647003%28v=vs.85%29.aspx" rel="noreferrer">GetFileVersionInfo</a> method but it seems silly to have to open the binary from within the version in memory just to query the version information - I'm sure I'm missing something obvious here :-)</p>