10

If I compile the source for a C-language DLL with CL.exe, how do I set the file properties including File version Product name, Product version, Copyright and so on, so that I can view these properties in Windows Explorer?

version number

In a .NET application written in C#, I could do this with assembly attributes like [assembly: AssemblyVersion("1.2.3.4")]. How do I do this in a C-language project?

Cheeso
  • 189,189
  • 101
  • 473
  • 713

1 Answers1

10

Embed a VersionInfo resource into your dll/application.

http://codingmisadventures.wordpress.com/2009/02/20/embedding-version-in-your-application-using-visual-c/

VERSIONINFO resource

0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
Pratik Bhatt
  • 687
  • 4
  • 15