Xerces Rule wrote:
>
> Manu Heirbaut suggested to use a multithreaded DLL. In VC++,
> I set 'Debug Multithreaded DLL' at Project>Settings>C++>Code
> Generating (Settings for Win32 Debug).
>
> But I'm still getting the same error.

The important point is that your C runtime setting (Debug or Release) must
be consistent with the Xerces DLL. In other words, if you use 'Debug
Multithreaded DLL' for your code you must link it with xerces-c_1D.lib,
if you use 'Multithreaded DLL' for your code you must link it with
xerces-c_1.lib (without the 'D').

> > I would be extremely obliged if anybody could explain
> > me if this is an Xerces bug, a MS bug or I am to blame.

It is a consequence of Microsoft's stupid decision to make release and
debug C runtimes incompatible.

Joachim

-- 
work:     [EMAIL PROTECTED]   (http://www.netacquire.com)
private:  [EMAIL PROTECTED]          (http://www.kraut.ca)


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

Reply via email to