Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3091

c driver binaries on Windows are missing a VERSIONINFO resource

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.25.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      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

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

              Created:
              Updated:
              Resolved: