Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4262

Invalid binding to InterlockedCompareExchange64() with 64-bit targets

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Delphi - Library
    • Labels:
      None
    • Environment:

      Windows, Delphi compiling to 64 bit targets

    • Patch Info:
      Patch Available

      Description

      There is an incorrect reference to the WinApi InterlockedCompareExchange64() which must actually be linked differently for 32 and 64 bit targets. The current code tries to link that function statically, which lets the 64 bit application immediate terminate during startup due to the unsatisfied static binding.

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: