Getting application version from within application

后端 未结 4 1371
长情又很酷
长情又很酷 2021-01-04 09:15

Is there a simple way of obtaining the application version information from the resource file at runtime?

Effectively what I\'d like to do is be able to have a \"Ve

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-04 09:43

    If the OS is Windows, use the GetFileVersionInfo and VerQueryValue functions.

提交回复
热议问题