在IDE中编辑VS_VERSION_INFO, 有些选项不知道含义. 有些选项含义相近,不知道区别.
现在代码提交前要设置代码版本号,
FileVersion, ProductName的区别?
PrivateBuild, SpecialBuild的区别?
读取文件版本号的实验,整理过. 现在找到了更好的资料:
Class Wrapper to Retrieve Module Information (VS_VERSION_INFO
Resource)
http://www.codeguru.com/cpp/misc/misc/versioninfo/article.php/c3823
在codeproject上搜索'VS_VERSION_INFO', 有vside自动增加版本号的例子, 这个实验要做一下.
<2010_1223>
这个demo在XpSp3上运行不过, 以这个程序做原型,做个工具来查看文件的版本信息, UI要比原来的好看.
用这个工具来查看发行的可执行文件, 可以把漏掉的版本选项检查出来. 从而修正原来的exe的rc信息. 便于从exe来查找文件的源码控制对应的版本.
看了一些Demo, 最后都调用的是MS SDK 中的Version API.
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/winui/winui/windowsuserinterface/resources/versioninformation.htm
<2010_1224>
又找了些资料,整合了一个PE文件版本信息查询工具.UI做的很漂亮.
能查询的版本信息:
运行效果图:
工程已上传: http://download.csdn.net/source/2933816
手工在IDE中填写Vs_VERSION_INFO, 各项含义如下:
String
Meaning
Comments |
The Value member contains any additional
information that should be displayed for diagnostic purposes. This string can be
an arbitrary length. |
CompanyName |
The Value member identifies the company that
produced the file. For example, "Microsoft Corporation" or "Standard
Microsystems Corporation, Inc." |
FileDescription |
The Value member describes the file in such a
way that it can be presented to users. This string may be presented in a list
box when the user is choosing files to install. For example, "Keyboard driver
for AT-style keyboards" or "Microsoft Word for Windows". |
FileVersion |
The Value member identifies the version of this
file. For example, Value could be "3.00A" or
"5.00.RC2". |
InternalName |
The Value member identifies the file's internal
name, if one exists. For example, this string could contain the module name for
a dynamic-link library (DLL), a virtual device name for a Windows virtual
device, or a device name for an MS-DOS device driver. |
LegalCopyright |
The Value member describes all copyright
notices, trademarks, and registered trademarks that apply to the file. This
should include the full text of all notices, legal symbols, copyright dates,
trademark numbers, and so on. In English, this string should be in the format
"Copyright Microsoft Corp. 1990–1994". |
LegalTrademarks |
The Value member describes all trademarks and
registered trademarks that apply to the file. This should include the full text
of all notices, legal symbols, trademark numbers, and so on. In English, this
string should be in the format "Windows is a trademark of Microsoft
Corporation". |
OriginalFilename |
The Value member identifies the original name
of the file, not including a path. This enables an application to determine
whether a file has been renamed by a user. This name may not be MS-DOS
8.3-format if the file is specific to a non-FAT file system. |
PrivateBuild |
The Value member describes by whom, where, and
why this private version of the file was built. This string should only be
present if the VS_FF_PRIVATEBUILD flag is set in the
dwFileFlags member of the VS_FIXEDFILEINFO structure. For
example, Value could be "Built by OSCAR on /OSCAR2". |
ProductName |
The Value member identifies the name of the
product with which this file is distributed. For example, this string could be
"Microsoft Windows". |
ProductVersion |
The Value member identifies the version of the
product with which this file is distributed. For example, Value
could be "3.00A" or "5.00.RC2". |
SpecialBuild |
The Value member describes how this version of
the file differs from the normal version. This entry should only be present if
the VS_FF_SPECIALBUILD flag is set in the dwFileFlags member of
the VS_FIXEDFILEINFO structure. For example,
Value could be "Private build for Olivetti solving mouse
problems on M250 and M250E computers". |
分享到:
相关推荐
opencv4.2.0编译cuda,支持dnn加速,可在anaconda环境里使用,Cmake编译过程中难以下载的有关ffmpeg的dll文件和cmake文件
该软件为针对台湾十素公司出品,转为TM57PA系列及其他该公司芯片设计的烧写软件,需要配合TWR98或TWR99或TWR...如不具备专业知识,可查询我发的相关文件,其中有详细讲解及软件支持烧写的具体芯片型号清单及技术参数。
IAR Embedded Workbench for ARM version 6.20.4 注册剂 解压密码: 123456 注意, 杀软肯定会误报, 如果您担心的话就别下了。 建议先用沙盒测试, 这东西只供学习研究, 不得用于商业用途。 违者自负相关责任。 ...
fpga实现相关滤波算法中的CSK算法,采用仿真的方式验证结果fpga是xilinx仿真工具是vivado2018.2语言是verilog
安装uhd与Gnuradio的相关软件以及手册,本包针对的是Ettus的RFNoC版本,包括FPGA源码文件,后期对USRP的FPGA部分可以完成2次开发,以及自建模块后的开发,配合安装手册,可以快速正确的完成安装过程!
cmake编译opencv用到的ffmpeg相关库
MPEG2 TS相关标准,虽然有点旧,是能找到的最新的免费版本
电子设计大赛相关的资源。 如果您觉得这些免费资源对您有帮助的话,我会非常感谢您的支持,您可以考虑给我点赞或关注,这将是对我分享内容的一种鼓励,也会让我更有动力继续分享更多有价值的资源。非常感谢您的关注...
《计算机网络自顶向下方法》第7版第五章编程题相关代码
在本篇文章里小编给大家分享的是关于PHP中mysqli_get_server_version()用法以及相关知识点,需要的朋友们可以参考下。
全网最全-DA14531-全球最小BLE芯片-SDK母版 (官网版本号SDK_6.0.18.1182.1.zip) 解析其中一个工程6.0.18.1182.1\projects\target_apps\ble_examples\ble_...定义BLE广播相关的内容,如:定义本地默认的MAC地址 #d
简介:用于从头计算相关材料的工具箱 当前构建状态 蔚蓝 变体 地位 linux_64_boost_cpp1.72.0c_compiler_version7cxx_compiler_version7fortran_compiler_version7mpimpichpython3.6 .____ cpython linux_64_boost_...
finalconectcon 一个新的Flutter项目。... 如果这是您的第一个Flutter项目,那么有一些资源可以帮助您入门:要获得Flutter入门方面的帮助,请查看我们的,其中提供了教程,示例,有关移动开发的指南以及完整的API参考。
OV2718 Datasheet,相关寄存器和配置都讲的很细,有需要的网友可以下载。
K8S Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:...
解决方案:sublime Text 3 无法安装插件有关问题 (JSON文件schema_version问题)-附件资源
FileZilla,包括32位、64位、单文件版。本软件为Windows版本,验证系统为Win7,绿色免安装版本,不需要管理员权限,解压即可运行,若文件中有readme相关文件,在使用前请仔细阅读readme文件。
它包含有关Gitpod和我们使用的扩展的一些重要信息。 Gitpod提醒 要在Gitpod中运行前端(仅HTML,CSS,Javascript)应用程序,请在终端中输入: python3 -m http.server 应该出现一个蓝色按钮,以单击:公开, ...
Python nbtstat + smb_version without third party packages 用 Python 实现的一个类似 nbtscan 的东西,外边包了一层多线程 默认通过 NBNS 协议获取 NetBIOS Name,然后通过 139(默认) 或者 445 探测系统相关...