[osg-users] RE Plugin loading problems....

2008-03-06 Thread neil.hughes
Hi Robert Gordon, Thanks for your interest in this. I'm as certain as I can be that the dll is failing to load because its usage is within an ActiveX control. Under Visual studio you can switch on extended information for seeing what happens when the LoadLibrary is performed. The output

[osg-users] RE Plugin loading problems....

2008-03-05 Thread neil.hughes
Hi All, I think I can now shed some more light on this problem, and perhaps I have found a potential bug. In the last update to this issue I had tracked the problem down to something to do with osgSim not wanting to load as a dependency of osgDB_ive.dll - and osgDB_flt.dll. On further

Re: [osg-users] RE Plugin loading problems....

2008-03-05 Thread Robert Osfield
Hi Neil, Which version of the OSG are you working with? I have just checked the SVN version of the CmakeLists.txt for ive and OpenFlight plugins and both correctly list osgSim as part of the list of dependencies. Unless the build system isn't working this should ensure that the libs are linked

Re: [osg-users] RE Plugin loading problems....

2008-03-05 Thread neil.hughes
Hi Robert, thanks for coming back to me. I think you're correct. I think this is an issue within MS and ActiveX controls. It does appear that that the LoadLibrary has issues resolving dependencies of libraries that are being loaded, when issued from within an ActiveX control. Obviously this

Re: [osg-users] RE Plugin loading problems....

2008-03-05 Thread Robert Osfield
On Wed, Mar 5, 2008 at 5:21 PM, [EMAIL PROTECTED] wrote: Obviously this isn't one for OSG as you can only use the call that is available - LoadLibrary. Having now got to a point where I can fix the issue with a relatively small alteration to the ActiveX control, I'm not too concerned.