Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-409

Win32 unicode build breaks due to wchar_t * passed to GetProcAddress()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • C++ 1.7.2
    • C++ 1.7.3
    • C++
    • None
    • Visual Studio 2008, Win32 build, Use Unicode Character Set

    Description

      In file xsec/utils/winutils/XSECBinHTTPURIInputStream.cpp, the second argument to all calls to GetProcAddress() should not be wrapped in _T() because there is not a unicode version of GetProcAddress.

      GetProcAddress only takes a LPCSTR (const char*) for this argument and wrapping the argument with _T() in a unicode build causes this argument to be a const wchar_t *.

      Solution: remove _T() from all calls to GetProcAddress()

      Attachments

        Activity

          People

            scantor Scott Cantor
            usrben Ben Sutcliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: