Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-786

Readme should make note of threaded library problems in BCB6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Documentation
    • None
    • Operating System: Other
      Platform: Other
    • 16277

    Description

      It would be useful if the following text (or similar) was added to the readme
      for Borland CBuilder 6.0:

      ...

      There's another known problem with BCB6 to do with linking single-threaded
      applications to DLLs. Specifically, DLLs are normally linked to the
      multithreaded runtime DLL (CC3260MT.dll); however, if an application is linked
      to the single-threaded DLL (CC3260.dll) and consequently attempts to free memory
      allocated by the MT DLL there will be an memory access violation. In particular
      this causes problems when using the transcoding utilities that return allocated
      memory (which the sample programs use).

      Currently there appears to be no way of forcing an application to be linked
      against the MT version of the runtime, therefore it is recommended that the
      versions of utilities which accept pre-allocated buffers be used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            steve.smith@adacel.com Steve Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: