chenpl
25-10-2006 07:32:33
I built ActiveX control with Ogre 1.2.0 using VS2005 c++.
In Debug mode, I got a error message when registering :
"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++ Libraries as Shared Side-by-Side Assemblies' topic in the product documentation."
In Release mode, it is successful to build and register the ActiveX control. But when I open the web page, I got a runtime error.
Even I just create a Ogre::Root object
"m_OgreRoot = new Ogre::Root("plugins.cfg", "Ogre.cfg", "Ogre.log");" or "m_OgreRoot = new Ogre::Root("E:/OgreSDK/OgreSDK/OgreOde/scripts/LiveActiveX/Debug/plugins.cfg", "E:/OgreSDK/OgreSDK/OgreOde/scripts/LiveActiveX/Debug/Ogre.cfg", "E:/OgreSDK/OgreSDK/OgreOde/scripts/LiveActiveX/Debug/Ogre.log");", this error will happen. But the MFC application with almost the same source code is OK in both debug and release mode.
Has anyone been able to build ActiveX control with Ogre by VS2005 on WinXP ?
Thanks in advance for any clue.
chenpl
In Debug mode, I got a error message when registering :
"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++ Libraries as Shared Side-by-Side Assemblies' topic in the product documentation."
In Release mode, it is successful to build and register the ActiveX control. But when I open the web page, I got a runtime error.
Even I just create a Ogre::Root object
"m_OgreRoot = new Ogre::Root("plugins.cfg", "Ogre.cfg", "Ogre.log");" or "m_OgreRoot = new Ogre::Root("E:/OgreSDK/OgreSDK/OgreOde/scripts/LiveActiveX/Debug/plugins.cfg", "E:/OgreSDK/OgreSDK/OgreOde/scripts/LiveActiveX/Debug/Ogre.cfg", "E:/OgreSDK/OgreSDK/OgreOde/scripts/LiveActiveX/Debug/Ogre.log");", this error will happen. But the MFC application with almost the same source code is OK in both debug and release mode.
Has anyone been able to build ActiveX control with Ogre by VS2005 on WinXP ?
Thanks in advance for any clue.
chenpl