Statically link C++ 2010 failed
<p>My goal is to avoid the installation of Microsoft C++ 2010 by statically link it. Because I don't know if that package will be installed on all the customer computers and his IT department doesn't allow the installation of software.</p>

<p>One other alternative would be to avoid the use of administrative privilege. (extract dll in the same directory that my program for example)</p>

<p>I found one possible solution <a href="http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/ab187afb-3af0-44ba-a03c-dde9e5208a1a/" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/ab187afb-3af0-44ba-a03c-dde9e5208a1a/</a> and I tryied the parameter /MT. </p>

<p>I've 2 errors :</p>

<blockquote>
  <p>Erreur    1   error LNK2019: symbole externe non rÚsolu __CrtDbgReportW
  rÚfÚrencÚ dans la fonction "void __cdecl std::_Debug_message(wchar_t
  const *,wchar_t const *,unsigned int)"
  (?_Debug_message@std@@YAXPB_W0I@Z)    C:\Users\philippe\Downloads\Portable
  Devices COM API Sample\C++\libcpmtd.lib(stdthrow.obj) WpdApiSample</p>
  
  <p>Erreur    2   error LNK1120: 1 externes non
  rÚsolus   C:\Users\philippe\Downloads\Portable Devices COM API
  Sample\C++\Debug\WpdApiSample.exe 1   1   WpdApiSample</p>
</blockquote>

<p>Am I in the good way ? And how can I resolve that problem ?</p>
