<br><br><div class="gmail_quote">On Tue, Jul 8, 2008 at 1:39 PM, Yuri Timenkov &lt;<a href="mailto:ytimenkov@parallels.com">ytimenkov@parallels.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
On Tuesday 08 July 2008 15:29:51 Mehdi Rabah wrote:<br>
&gt; Hi Yuri,<br>
&gt;<br>
&gt; CMake generate both .embed.manifest and .intermediate.manifest (but no<br>
&gt; .CRT.manifest). Also, I have added VS 2008 redistribuable DLLs path in my<br>
&gt; %PATH%.<br>
</div>I mean .CRT.manifest is manifest for MSVS CRT dll. For your libraries<br>
manifests have different names, but they should be in same folder as your dll<br>
after installation.<br>
<br>
I don&#39;t know whether CMake embeds manifest or not, because we build our<br>
software with VS2003 :)<br>
<br>
I just encountered such problem once, and to solve this problem I had to put<br>
not only dll itself to application folder, but also its manifest.</blockquote><div><br>Ok thanks, maybe I should use VS 2005 (I use the express version and 2003 is not available anymore). <br><br>I have all the right manifest files in the output folder (they are generated by cmake, I didn&#39;t have to do anything), but I still have this problem.<br>
<br>Any other ideas? How could I embed a manifest file in my DLL using cmake ?<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
&gt;<br>
&gt; Thank you also for your previous answers.<br>
&gt; --<br>
&gt; Mehdi<br>
&gt;<br>
&gt; On Tue, Jul 8, 2008 at 11:47 AM, Yuri Timenkov &lt;<a href="mailto:ytimenkov@parallels.com">ytimenkov@parallels.com</a>&gt;<br>
&gt;<br>
&gt; wrote:<br>
&gt; &gt; On Tuesday 08 July 2008 13:38:25 Mehdi Rabah wrote:<br>
&gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Does anyone had this error<br>
</div>&gt; &gt; &gt; <a href="http://msdn.microsoft.com/en-us/library/ms235560%28VS.80%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx</a>&lt;<a href="http://msd" target="_blank">http://msd</a><br>

&gt; &gt; &gt;<a href="http://n.microsoft.com/en-us/library/ms235560%28VS.80%29.aspx" target="_blank">n.microsoft.com/en-us/library/ms235560%28VS.80%29.aspx</a>&gt;while using a DLL<br>
<div><div></div><div class="Wj3C7c">&gt; &gt; &gt; built this cmake?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; My application (also built with cmake) works fine on Release mode, I<br>
&gt; &gt; &gt; get this error only in Debug configuration. In the old project (visual<br>
&gt; &gt; &gt; studio files only) the application seems to work in debug and release<br>
&gt; &gt; &gt; without problems. I&#39;ve looked into the compiler options but I didn&#39;t<br>
&gt; &gt; &gt; find what could be the key difference.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Since I switched from linux to windows recently, I&#39;m really confused.<br>
&gt; &gt; &gt; Any ideas on how to find where the problem is coming from?<br>
&gt; &gt;<br>
&gt; &gt; I suppose you use VS 2005?<br>
&gt; &gt;<br>
&gt; &gt; You should put manifest file with your DLL. For example, I have to put<br>
&gt; &gt; &quot;Microsoft.VC80.CRT.manifest&quot; with &quot;msvcr80.dll&quot; to run on systems<br>
&gt; &gt; without MS<br>
&gt; &gt; VS 2005 redistributable runtime installed.<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thanks in advance,<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Mehdi<br>
<br>
</div></div></blockquote></div><br>