Hello,

I am trying to develop an export plugin to osg and ive formats in an external 
editor. The editor is using MFC for UI and has a standard (common controls) 
dialog at Export As... function. It is compiled with Visual Studio 2005 SP1 
(both 32 and 64bit).

When trying to export with OSG plugin (compiled to use osg65-osg.dll, 
osg65-osgDB.dll, ot11-OpenThreads.dll, osgdb_osg.dll and osgdb_ive.dll) the 
Save As dialog triggers an exception inside windows DLLs (call stack not 
available) or (in debug) the dialog appears without controls on them.

After many hours I've found out that the problem resides in 
ot11-OpenThreads.dll (and ot11-OpenThreadsd.dll for debug mode). If I use this 
dll from OpenSceneGraph 2.8.4 (.3 or .2) program crashes. If I use the version 
provided with 2.8.0 or later, it works. 

Did anyone else encountered a similar problem?

I've used compiled OSG provided on the site and I also compiled the OSG from 
scratch. I've tried in 32 and 64 bit, debug and release, all with the same 
results.

Do anyone has any idea of what may cause this (what modifications to 
OpenThreads may interfere with Windows common controls from Visual Studio 2005)?

For now I am using OSG 2.8.4 but with the ot11-OpenThreads.dll from 2.8.0 
version and it works.

Kind Regards,
Adrian L.


Thank you!

Cheers,
Adrian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39409#39409





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

Reply via email to