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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

 

 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to