You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Scott Cantor (JIRA)" <ji...@apache.org> on 2015/01/29 03:18:35 UTC
[jira] [Resolved] (SANTUARIO-409) Win32 unicode build breaks due to
wchar_t * passed to GetProcAddress()
[ https://issues.apache.org/jira/browse/SANTUARIO-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor resolved SANTUARIO-409.
------------------------------------
Resolution: Fixed
http://svn.apache.org/r1655509
> Win32 unicode build breaks due to wchar_t * passed to GetProcAddress()
> ----------------------------------------------------------------------
>
> Key: SANTUARIO-409
> URL: https://issues.apache.org/jira/browse/SANTUARIO-409
> Project: Santuario
> Issue Type: Bug
> Components: C++
> Affects Versions: C++ 1.7.2
> Environment: Visual Studio 2008, Win32 build, Use Unicode Character Set
> Reporter: Ben Sutcliffe
> Assignee: Scott Cantor
> Fix For: C++ 1.7.3
>
>
> 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()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)