开发者

How do I set the version of a DLL built in C, compiled with CL.EXE?

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?

How do I set the version of a DLL built in C, compiled with CL.EXE?

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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜