By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,512 Members | 1,830 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,512 IT Pros & Developers. It's quick & easy.

Problems with static libraries

P: n/a
Hi !

I am having a lot of trouble compiling my directshow filter with third
party libraries.

In fact, I would like to know if there is an application that can tell
me if the library has been generated in MT, MD, MDd or MTd mode. I do
not have direct access to this libraries so I cannot recompile them as I
would like them to be.

Thank you very much,

Marcelo
May 26 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Fri, 25 May 2007 18:11:00 -0700, Marcelo Fernandez
<ma*********@hotmail.comwrote in comp.lang.c++:
Hi !

I am having a lot of trouble compiling my directshow filter with third
party libraries.

In fact, I would like to know if there is an application that can tell
me if the library has been generated in MT, MD, MDd or MTd mode. I do
not have direct access to this libraries so I cannot recompile them as I
would like them to be.

Thank you very much,
C++ has no concept of static libraries, or "MT", "MD", and whatever
else you are talking about. These things are all platform specific
mechanisms. You need to ask about them in a group that supports your
compiler/OS combination.

Judging by the headers on your post,
news:comp.os.ms-windows.programmer.win32 might be a good choice.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
May 26 '07 #2

P: n/a


Hi,

You might try the dumpbin tool from the command line:
C:\Documents and Settings\Projects\vc\Fluor\CoreDLL>dumpbin /directives
shared.lib
Microsoft (R) COFF/PE Dumper Version 7.10.3052
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file shared.lib

File Type: LIBRARY

Linker Directives
-----------------
/DEFAULTLIB:"LIBCMTD"
/DEFAULTLIB:"OLDNAMES"
/EDITANDCONTINUE

Linker Directives
-----------------
/DEFAULTLIB:"libcpmtd"
/include:?id@?$codecvt@DDH@std@@2V0locale@2@A
/include:?id@?$num_put@DV?$ostreambuf_iterator@DU?$ char_traits@D@std@@@std@@@std@@2V0locale@2@A
/include:?id@?$numpunct@D@std@@2V0locale@2@A
/DEFAULTLIB:"LIBCMTD"
/DEFAULTLIB:"OLDNAMES"
/EDITANDCONTINUE
the LIBCMTD in this case says it was linked to C-Library (CLIB)
MultiThreaded Debug (MTD)Regards, Ron AF Greve
http://www.InformationSuperHighway.eu

"Marcelo Fernandez" <ma*********@hotmail.comwrote in message
news:11*************@sicinfo3.epfl.ch...
Hi !

I am having a lot of trouble compiling my directshow filter with third
party libraries.

In fact, I would like to know if there is an application that can tell me
if the library has been generated in MT, MD, MDd or MTd mode. I do not
have direct access to this libraries so I cannot recompile them as I would
like them to be.

Thank you very much,

Marcelo

May 26 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.