[CXX-1766] C++ driver binaries on Windows are missing a VERSIONINFO resource Created: 29/Apr/19  Updated: 08/Nov/23  Resolved: 27/Oct/23

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.9.0

Type: Improvement Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: post-5.0, size-small
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-3091 c driver binaries on Windows are miss... Closed
Quarter: FY24Q4

 Description   

On Windows, it is a best practice for binaries to have a VERSIONINFO resource. This enables users to check the version of the binary without running the code. The version info can be viewed from Explorer, sigcheck from sysinternals or other tools.

References:
https://docs.microsoft.com/en-us/windows/desktop/menurc/versioninfo-resource
https://stackoverflow.com/questions/3526794/how-do-i-build-a-win32-app-with-a-resource-file-using-cmake-and-mingw

Example from server: https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.rc



 Comments   
Comment by Githook User [ 27/Oct/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CXX-1766 add VERSIONINFO to dlls (#1046)
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/0f352d7e2d82dfcec7f21a6329e58e485900b471

Generated at Wed Feb 07 22:03:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.