<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Michael,<BR>
<BR>
I just checked and you are right! Although I am using statically linked dcmtk, the run-time library is Multi-Threaded DLL (/MD) as the setting in VTK.<BR>
<BR>
Somehow I had an impression that /MD cannot be used when building statically linked library. It is probably something got stuck in my mind from MFC/VC++6 days.<BR><BR>
Thanks!<BR>
<BR>Xiaofeng Z<BR><BR><BR><BR> <BR>
<HR id=stopSpelling>
From: Michael.Knopke@gmx.de<BR>To: vtkusers@vtk.org<BR>Date: Mon, 29 Mar 2010 17:13:51 +0200<BR>Subject: Re: [vtkusers] DCMTK + VTK or ITK<BR><BR>
<STYLE>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate
{margin-bottom:.0001pt;font-size:8.0pt;font-family:'Tahoma','sans-serif';}
.ExternalClass span.ecxE-MailFormatvorlage17
{font-family:'Verdana','sans-serif';color:windowtext;font-weight:normal;font-style:normal;}
.ExternalClass span.ecxSprechblasentextZchn
{font-family:'Tahoma','sans-serif';}
.ExternalClass .ecxMsoChpDefault
{;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxSection1
{page:Section1;}
</STYLE>
<DIV class=ecxSection1>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt">Hi Xiaofeng Z,</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt" lang=EN-US>are you sure you are talking about mixing static/dynamic c-runtime (determined via the compiler setting) and not the libraries itself (Build_shared_libs)? The latter one is no problem at all.</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt" lang=EN-US>If you mixed the c-runtime you are probably just lucky:</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt" lang=EN-US> </SPAN></P>
<P class=ecxMsoNormal><A href="http://support.microsoft.com/?scid=kb;en-us;140584&x=11&y=9"><SPAN lang=EN-US>http://support.microsoft.com/?scid=kb;en-us;140584&x=11&y=9</SPAN></A></P>
<P class=ecxMsoNormal> </P>
<P class=ecxMsoNormal> </P>
<P class=ecxMsoNormal>Regards,</P>
<P class=ecxMsoNormal> </P>
<P class=ecxMsoNormal>Michael<SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 10pt" lang=EN-US></SPAN></P>
<P class=ecxMsoNormal><SPAN lang=EN-US> </SPAN></P></DIV> <br /><hr />Hotmail: Trusted email with powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/210850553/direct/01/' target='_new'>Sign up now.</a></body>
</html>