Hey Keith and Dave,

Well I figured out a work-around for my particular problem. I found out that I didn't have to be converting to an 8-bit character after all. I was using it to do a strtok() on an XML string, and then after some digging I found the StringTokenizer class in the Xalan docs. So I switched over my code to use that and now everything works. It is still rather disconcerting that this has been such a hassle. BTW I am using VC7 to build my application, perhaps that is the problem?

Anyways, thanks for your help.
Ryan

Keith Rogers wrote:

Ryan's compiler options looked Ok (in the first posting) for a debug build. If the right library is being linked, it *should* work.
Ryan, what compiler are you building the app with? I know when I tried to use a VC7-built app with the VC6 built DLLs (that was Xerces 2.2, Xalan 1.5, as I recall), it did not work. I'm sticking with VC6 for now, and build the X-X DLLs myself, too.


[EMAIL PROTECTED] wrote:

    This is a pretty clear indication that you are not building with the
    correct run-time library options. For the release configuration,
    you need
    to use /MD and link with the release version of the Xalan-C and
    Xerces-C
    libraries. For the debug configuration, you need to use /MDd, and link
    with the debug version of the Xalan-C and Xerces-C libraries. The
    debug
    versions of the libraries have a "D" appended to the prefix. For
    example,
    Xalan-C_1D.lib, instead of Xalan-C_1.lib.

    Dave





Reply via email to