DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16055>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16055

Build errors for VC7 compile using Unicode charset

           Summary: Build errors for VC7 compile using Unicode charset
           Product: Xerces-C++
           Version: 2.1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When trying to compile with Unicode charset set and wchar_t enabled as a 
native type, the following create trouble:

BinHTTPURLInputStream.cpp#164+: GetProcAddress does not take an LPTSTR, only 
LPCSTR; thus, the _T() needs to be stripped from the function name strings.

Win32MsgLoader.cpp#174: ::FindResourceEx was hard-coded to single-char version 
(::FindResourceExA), should be universal ::FindResourceEx instead.

VCPPDefs.hpp#169: consider typedef'ing wchar_t -> XMLCh, because 
using /Zc:wchar_t, wchar_t is a native, happily interoperating type in VC7.

I'm not sure if this all actually makes sense, but I got a build to work 
rather nicely this way. Feel free to contact me via email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to