FileVersion 与 ProductVersion有什么区别呢?

banwtc 2003-08-25 06:05:14
我开发了一个自己的ocx控件,放在服务器的网页让人访问。我现在想更新我的控件,让用户访问网页时,自动下载新的控件。应该怎么做呢?我查看到程序中有两个版本号,FileVersion 与 ProductVersion,他们有什么区别?我需要更改哪个版本号呢?
...全文
550 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
flydjl 2003-08-27
  • 打赏
  • 举报
回复
根据我的实际应用经验应该用FileVersion
warmchang 2003-08-26
  • 打赏
  • 举报
回复
你的情况应该用ProductVersion!
SmallBigCat 2003-08-26
  • 打赏
  • 举报
回复
一个产品可能会有许多各文件组成,文件版本是对开发者而言的,而产品版本是对使用者而言的;如果没有大的变化两个都要更新,否则只更新文件版本
kingzai 2003-08-25
  • 打赏
  • 举报
回复
Both values are stored in a version resource in the
project. Open the version resource and type away.

As far as the difference, FileVersion is mainly used
for tracking on specific file's version; ProductVersion
is useful for tracking files that work together and have
to be synchronized as a package. Like ODBC, ADO,
Office DLLs, etc.

This lets you change the version of XYZ_BASE.DLL
for a bug fix, and still know it's synchronized with
XYZ_ETN.DLL; they'll have different file versions,
but you can keep the product version synchronized.

3,248

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧