How to embed meta info for an executable?

  • Thread starter Thread starter Charles Zhang
  • Start date Start date
C

Charles Zhang

How can I embed meta information such as "Company", "File Version" as
you can see from the property form using "Explorer" for executable using
visual c++ 2008?

And also, what kind of APIs are available to read the meta info at run time?

Thanks

Charles Zhang
 
How can I embed meta information such as "Company", "File Version" as
you can see from the property form using "Explorer" for executable using
visual c++ 2008?

Charles,

These strings are part of the version information resource. You can
access them programmatically using the Ver* APIs. I think the About
box code in a generic SDK sample has example code.

Dave
 
Thanks. Dave.

By adding "resource" of "version", I can embed the information I wanted
to the executable.

Charles Zhang
 
Back
Top