Marcus Lindblom schrieb: > Daniel Zuidinga wrote: > >> 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? >> >> > I'm not very experienced with them, but here's what I know: > > The manifest contains a checksum for dlls to make sure they haven't > changed since you linked. (Or something like that) > For .exe's, the manifest can be external (a separate file) or embedded > (no file, contained in exe). > > So, you might want to look into the linker options and make sure a > manifest is generated when you link your app (it might be your app that > lacks a manifest, or the osgdll's, but I think it's the former). It's > probably easiest to have it embedded, rather than separate (especially > for ActiveX). > > I haven't used manifests terribly much yet though, so I can't be very > specific. Hope it helps anyway. :) > If i doesn´t include any OpenSG-header i haven´t got the problem. OpenGL works fine. So it must have to do something with the osg dlls. Curiously i can build the examples without any manifest files. But they are .exe's.
------------------------------------------------------------------------- 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
