Static Linking
-
I'm trying to statically link some libraries(Xerces) into my application with VS 2003 .Net. I'm trying to do this by adding the libraries to the "Additional Dependencies" field under the "Linker" section of the project properties. After rebuilding the application with these settings, the application still tries to link to the dynamic versions of the libraries. Did I miss something? :confused: Thanks Hua-Ying
-
I'm trying to statically link some libraries(Xerces) into my application with VS 2003 .Net. I'm trying to do this by adding the libraries to the "Additional Dependencies" field under the "Linker" section of the project properties. After rebuilding the application with these settings, the application still tries to link to the dynamic versions of the libraries. Did I miss something? :confused: Thanks Hua-Ying
wrong library? Don't try it, just do it! ;-)
-
I'm trying to statically link some libraries(Xerces) into my application with VS 2003 .Net. I'm trying to do this by adding the libraries to the "Additional Dependencies" field under the "Linker" section of the project properties. After rebuilding the application with these settings, the application still tries to link to the dynamic versions of the libraries. Did I miss something? :confused: Thanks Hua-Ying
Check the docs, some libraries (like id3lib) require you to
#define
a symbol differently when you use a static LIB build versus a DLL build. Also make sure you're not picking up a#pragma comment(lib,"...")
in a Xerces header file. -- I'm Michael Dunn and I approve this post. Vote Trogdor in oh-four! -
I'm trying to statically link some libraries(Xerces) into my application with VS 2003 .Net. I'm trying to do this by adding the libraries to the "Additional Dependencies" field under the "Linker" section of the project properties. After rebuilding the application with these settings, the application still tries to link to the dynamic versions of the libraries. Did I miss something? :confused: Thanks Hua-Ying
After having had a look ad Xerces several month ago, too, I recommend to just drop Xerces and just use the much-easier-to-use MSXML3/MSXML4. Should be able to do all the things, Xerces does, too. -- Affordable Windows-based CMS: www.zeta-producer.de/enu
-
After having had a look ad Xerces several month ago, too, I recommend to just drop Xerces and just use the much-easier-to-use MSXML3/MSXML4. Should be able to do all the things, Xerces does, too. -- Affordable Windows-based CMS: www.zeta-producer.de/enu
-
Check the docs, some libraries (like id3lib) require you to
#define
a symbol differently when you use a static LIB build versus a DLL build. Also make sure you're not picking up a#pragma comment(lib,"...")
in a Xerces header file. -- I'm Michael Dunn and I approve this post. Vote Trogdor in oh-four!