> I have also tried manipulating many of the compiler settings in > both Xerces and my code so that they match, but still to no avail... > > Can anyone think of what I may be missing? >
The problem is most likely one of these project settings. There are so many of them that it's hard to get them all lined up. The settings in the C/C++ tab, under code generation, are prime suspects. To use the pre-built DLL, the settings should be Calling convention: __cdecl * Run Time Library: Multithreaded DLL (or debug multi-threaded DLL) Struct member alignment: 8 bytes Another good option is to rebuild the DLL from the source using your project settings. -- Andy