Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1766

C++ driver binaries on Windows are missing a VERSIONINFO resource

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.9.0
    • None
    • Build

    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

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: