Irrlicht in ActiveX plugin?
Posted: Sun Jan 20, 2008 10:05 am
Anybody ever tried putting Irrlicht inside of an ActiveX or NPAPI plugin?
I tried it last night for the hell of it in an MFC ActiveX control and everything
went fine and well up until I added createDevice or createDeviceEx at which
point Visual Studio, well Regsvr32, started complaining it couldn't register
the component complaining about a "missing module".
I tried screwing around with the position of my includes and namespaces
and even added irr::, irr::video::, etc.. to the functions and types in my
code and regsvr32 still complains until I remove createDevice/createDeviceEx
from the code, in fact I even tried creating the device outside my OLE object
elsewhere in the code and it still did it.
Anyone actually ever tried this, and succeeded?
And while we're on the topic is there actually any point in using ActiveX/NPAPI
to create applets or content viewers/players (e.g. Macromedia Flash Player or Adobe PDF Viewer)
anymore?
I had been looking at Java but Java is unfamiliar territory to me and
I'd have to learn yet another language all over again.
I tried it last night for the hell of it in an MFC ActiveX control and everything
went fine and well up until I added createDevice or createDeviceEx at which
point Visual Studio, well Regsvr32, started complaining it couldn't register
the component complaining about a "missing module".
I tried screwing around with the position of my includes and namespaces
and even added irr::, irr::video::, etc.. to the functions and types in my
code and regsvr32 still complains until I remove createDevice/createDeviceEx
from the code, in fact I even tried creating the device outside my OLE object
elsewhere in the code and it still did it.
Anyone actually ever tried this, and succeeded?
And while we're on the topic is there actually any point in using ActiveX/NPAPI
to create applets or content viewers/players (e.g. Macromedia Flash Player or Adobe PDF Viewer)
anymore?
I had been looking at Java but Java is unfamiliar territory to me and
I'd have to learn yet another language all over again.