Andreas Zieringer schrieb: > Hi Daniel, > >> Andreas Zieringer schrieb: >> >>> Hi Daniel, >>> >>> >>>> Dirk Reiners schrieb: >>>> >>>> >>>>> from what I understand your problem stems from having to >>>>> initialize the Win32Window that OpenSG uses. The alternative to >>>>> that is using a PassiveWindow and having the OpenGL context >>>>> handled somewhere else, e.g. in an ATL class. >>>>> >>>>> So my question was whether you have an example in the context that >>>>> you want to use it (ActiveX Plugin, ATL container, whatever) that >>>>> uses OpenGL. If not, try to find one on the web. Once you have >>>>> that you can use a PassiveWindow, which does no system-specific >>>>> initialization and just assumes that the OpenGL context is >>>>> activated whenever it's called, and that use main application will >>>>> take care of swapping the buffers. That way you can integrate >>>>> OpenSG pretty much anywhere you can do OpenGL, without having to >>>>> worry about other things. >>>>> >>>> >>>> I have now a ATL/Opengl-project from >>>> http://msdn2.microsoft.com/de-de/library/fe7yfss0.aspx >>>> and it works fine in the testcontainer for activeX controls. >>>> >>>> but a soon as i include for example OpenSG/OSGSimpleSceneManager.h >>>> oder OSGPassiveWindow.h >>>> i get the Debug Error: >>>> >>>> R6034 >>>> An application has made an attempt to load the C runtime library >>>> without using a manifest. This is an unsupported way to load Visual >>>> C++ Dlls. You need to modify your application to build with a >>>> manifest. For more information, see the "Visual C++ Libraties as >>>> Sahred Side-bySide Assemblies" topic in the product documentation. >>>> >>>> >>>> MSDN says here http://msdn2.microsoft.com/en-us/library/ms235624.aspx: >>>> Visual C++ libraries cannot be used by a C/C++ application without >>>> a manifest binding the application to these libraries. If a C/C++ >>>> application that depends on a Visual C++ library does not use a >>>> manifest, then an attempt to load the Visual C++ library as a >>>> dependent DLL from the application-local folder will result in an >>>> error message indicating that this is an unsupported way of loading >>>> a Visual C++ library. >>>> >>>> So i must have the manifest-files? How can i get them? >>> >>> at least for your executable you need a *.exe.manifest file, in your >>> case perhaps a *.ax.manifest file? This file is created by the >>> compiler. >>> I never needed the manifest files for my dll's. I attached the >>> OpenSG manifest files perhaps this helps. >> >> i haven´t got an executable but a dll-file. Do you have the others >> manifest files including the debug manifest files too? > > I attached the debug manifest files. > They doesn´t fix my problem either. I copied the files where my dlls are. I think this should be right?
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
