<br><br><div class="gmail_quote">On Tue, Jul 8, 2008 at 1:39 PM, Yuri Timenkov <<a href="mailto:ytimenkov@parallels.com">ytimenkov@parallels.com</a>> 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>
> Hi Yuri,<br>
><br>
> CMake generate both .embed.manifest and .intermediate.manifest (but no<br>
> .CRT.manifest). Also, I have added VS 2008 redistribuable DLLs path in my<br>
> %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'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'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> </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>
><br>
> Thank you also for your previous answers.<br>
> --<br>
> Mehdi<br>
><br>
> On Tue, Jul 8, 2008 at 11:47 AM, Yuri Timenkov <<a href="mailto:ytimenkov@parallels.com">ytimenkov@parallels.com</a>><br>
><br>
> wrote:<br>
> > On Tuesday 08 July 2008 13:38:25 Mehdi Rabah wrote:<br>
> > > Hi,<br>
> > ><br>
> > > Does anyone had this error<br>
</div>> > > <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><<a href="http://msd" target="_blank">http://msd</a><br>
> > ><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>>while using a DLL<br>
<div><div></div><div class="Wj3C7c">> > > built this cmake?<br>
> > ><br>
> > > My application (also built with cmake) works fine on Release mode, I<br>
> > > get this error only in Debug configuration. In the old project (visual<br>
> > > studio files only) the application seems to work in debug and release<br>
> > > without problems. I've looked into the compiler options but I didn't<br>
> > > find what could be the key difference.<br>
> > ><br>
> > > Since I switched from linux to windows recently, I'm really confused.<br>
> > > Any ideas on how to find where the problem is coming from?<br>
> ><br>
> > I suppose you use VS 2005?<br>
> ><br>
> > You should put manifest file with your DLL. For example, I have to put<br>
> > "Microsoft.VC80.CRT.manifest" with "msvcr80.dll" to run on systems<br>
> > without MS<br>
> > VS 2005 redistributable runtime installed.<br>
> ><br>
> > > Thanks in advance,<br>
> > > --<br>
> > > Mehdi<br>
<br>
</div></div></blockquote></div><br>