[osg-users] Redistribute OSG on Vista

Roger James roger at beardandsandals.co.uk
Thu Sep 27 10:30:55 PDT 2007


Something I forgot. I have seen mention that having the private assembly in
a sub-directory doesn't work when loading dlls. I have never tried it. Maybe
someone who understands this maze can comment.

 

So just copy the runtime dlls and their manifest up into the plugin
directory.

 

Roger

 

  _____  

From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Roger James
Sent: 27 September 2007 17:55
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] Redistribute OSG on Vista

 

Does your app need MFC? The redist installs assemblies for that as well.

 

Do the versions in the manifest file match the ones in the dlls and the ones
in the manifests embedded in the exe and plugin dlls?

 

I found this thread useful

 

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=164465
<http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=164465&SiteID=1>
&SiteID=1

 

 

osg loads its plugins via loadlibrary (as opposed to implicit loading via
the exe loader) which is why you need private assemblies in the plugin
directory as well.

 

Only ms could dream up something this Byzantine!

 

I found the ms dependency walker (http://www.dependencywalker.com
<http://www.dependencywalker.com/> ) and the CFF Explorer
(http://www.ntcore.com/products.php) useful in tracking this stuff down.

 

Roger

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070927/0dd2c3af/attachment-0003.htm>


More information about the osg-users mailing list