How to embed meta info for an executable?

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
 
D

David Lowndes

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
 
C

Charles Zhang

Thanks. Dave.

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

Charles Zhang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top