Hi Don,
delay loading a DLL requires that the DLL doesn't export static symbols, and Xerces does that in a lot of cases; so it's not possible, unless you avoid using any of these static symbols...

Hope this helps,
Alberto

At 17.58 08/07/2005 -0400, Don McClimans wrote:
I would like to DelayLoad the xerces dll under windows. However, when I link with this option, I get the error message:

LINK : fatal error LNK1194: cannot delay-load xerces-c_2_6D.dll due to import of data symbol "__declspec(dllimport) public: static unsigned short const * const xercesc_2_6::XMLUni::fgSAX2CoreNameSpacePrefixes" ([EMAIL PROTECTED]
[EMAIL PROTECTED]@@2QBGB); relink without /DELAYLOAD:xerces-c_2_6D.dll

Can anyone tell me what this message means? Or, even simpler (for me): how do I delayload under win32?

Xerces version 2.6, using MSVC++ 6.0 SP5.

Thanks,

Don




Reply via email to