> 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?
If you are using Xerces-C and Xalan-C binaries built with VC6, then that's definitely the problem, because the two compilers have different run-time libraries. You should really rebuild the binaries using the particular version of VC you're using, because mixing binaries is dangerous, and the underlying problem is still there. Dave
