Milan,

Seen that one too :>.

From memory it's something to do with MFC - if you define something as being MFC (and it creates stdafx.??) but you don't link in the MFC libraries, or you don't join in MFC using the shared libraries (been a while, so apologies if that sounded confused)

Cheers,
        Berin


Milan Tomic wrote:


Berin,

Thank you very much for your help.


3. I am used a different memory model in my app from Xerces (Runtime in a DLL) as the Janitor then uses it's runtime library to delete an object created by a different runtime library.

I belive this is a problem. I had /MT compiler option and Xerces/Xsec uses /MD. I've tried to change it from /MT to /MD, but got strange linker errors:

nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argv
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argc
nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol
__mbctype
nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol
__mbctype
nafxcw.lib(timecore.obj) : error LNK2001: unresolved external symbol
__mbctype

At present I'm trying to fix it.

Best regards,
Milan




Reply via email to