Hi Wojtek, the same setup I have here, all in dll. Not working though, windows7. I had to do some hacks with the win32 messaging to make it work
Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Mon, Dec 21, 2009 at 11:49 AM, Wojciech Lewandowski < [email protected]> wrote: > Hi Guys > > I doubt your problem is directly related to DLL use. We have a code at the > company where allmost all OSG stuff including osgViewer creation is loaded > as dynamic DLL plugins. Its built with VS 2008 Express. All works correctly > and we see no problem with window focus or similar things. I suspect > something might get lost in translation to DLL. Mangled args passed to > viewer, mixed library models, overrriden HINSTANCE or somethin like this...( > these are very fuzzy thoughts, if I was to elaborate I would not be able to > tell how they could directly affect DLL window setup). > > Cheers, > Wojtek > > -------------------------------------------------- > From: "Robert Osfield" <[email protected]> > Sent: Monday, December 21, 2009 10:21 AM > To: "OpenSceneGraph Users" <[email protected]> > Subject: Re: [osg-users] viewer loaded from dll not responsive to events > > > Hi Nick, >> >> I'm no windows programmers, but vaguely recall a restriction on events >> and the main thread, osgViewer has code built in to cope with this, >> but don't recall any issues with loading a viewer from a dll. >> >> The best platform for handling really flexible window creation is the >> oldest one we support... X11.... allows you great control over events >> and is far better than Windows and OSX for this. Alas sometimes >> technologies go backwards overtime.... >> >> Robert. >> >> On Sun, Dec 20, 2009 at 11:01 PM, Trajce Nikolov >> <[email protected]> wrote: >> >>> Hi, >>> I am loading my viewer from a dll and as the topic says, it does not >>> respond >>> to any events. Windows platform. Any ideas? >>> There is a way I think to put message hooks but it is more then a hack >>> then >>> a real solution >>> Thanks >>> Nick >>> >>> http://www.linkedin.com/in/tnick >>> >>> _______________________________________________ >>> osg-users mailing list >>> [email protected] >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>> >>> >>> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

