Hi, Serge,

Looks like I used the same runtime DLLs and manifest files. Manifests were 
taken from WinSxS and renamed to Microsoft.VC80.CRT.manifest and 
Microsoft.VC80.DebugCRT.manifest. 

Its really puzzling that plugins without manifests work when OSG libs are 
linked with executables but it does not work for our App when they are linked 
with dynamically loaded DLLs.

I saw your recent submission where you reverted Cmake generation for manifest 
linking - before Robert puts them into SVN I actived manifest linking in my OSG 
solution. I gave up. Don't have time for this struggle now. Maybe will get back 
to this later. 
On many Microsoft manifest related documentation pages they state that bulids 
without manifests are not supported so I wouldn't expect that we may be able to 
resolve this issue.

Thanks,
Wojtek

  ----- Original Message ----- 
  From: Serge Lages 
  To: [EMAIL PROTECTED] ; OpenSceneGraph Users 
  Sent: Tuesday, December 11, 2007 9:34 AM
  Subject: Re: [osg-users] Latest SVN: problems with Plugins without Manifests


  On Dec 10, 2007 9:49 PM, Wojciech Lewandowski <[EMAIL PROTECTED]> wrote:

    Thanks for assistance,

    I will further investigate it. I use XP SP2. Something that may be 
important here is the fact that our app loads OSG dynamically. We have our 
program divided into DLL components and some of these components are linked 
with OSG libs. Components are selected and loaded at run time based on 
application config. So in in this way OSG is also loaded dynamically. It used 
to work flawlessly till now. One more thing, I doubt its related, but these XP 
are Polish language version. 

    I assume you have msvcp80d / msvcp80 / msvcr80 and msvcr80d dlls + release 
and debug runtime manifests stored in 3rd party binaries or somewhere else on 
the system path. Where tey are located ? Can you send me these files ? I guess 
manifest should suffice in case you use standard SP80 VS1 redist (version 
8.0.50727.762) . I took my dlls from Windoiws/WinSxS redist directory because I 
could not find them in the folder where I got VS8 Express installed. Maybe 
manifest should be modified and differ somehow than the one stored in WinSxS 
directory ? If I made a mistake then it must have been a manifest which was 
wrong. 



  Hi Wojciech,

  The fact that you load OSG dynamically must be the point that make it 
break... About the msvc*.dll, on my dev machine I use the ones located into 
WinSxS (without putting them into another directory), and when I redistribute 
an app, I put the folder joined to this mail into the main binary folder. 

  The simpliest way to solve it is to make it optional in CMake to generate or 
not the manifests, I will make the change and submit it to Robert this morning.

  Cheers,

  -- 
  Serge Lages
  http://www.tharsis-software.com 
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to