T
Tim
I was using the Irrlicht 3D graphics engine on Windows and noticed
that you only need a console application to control everything.
E.g. to create a window, all you need to do is include and link to the
irrlicht library and call one function from a console app - how is
this possible? How do you create a DLL that can open a window which is
controllable from a simple console app?
e.g.
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
#pragma comment(lib, "Irrlicht.lib")
int main()
{
IrrlichtDevice *device = createDevice(EDT_SOFTWARE,
dimension2d<s32>(512, 384), 16,false, false, false, 0);
while(1)
{
}
}
See http://irrlicht.sourceforge.net/tut001.html
that you only need a console application to control everything.
E.g. to create a window, all you need to do is include and link to the
irrlicht library and call one function from a console app - how is
this possible? How do you create a DLL that can open a window which is
controllable from a simple console app?
e.g.
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
#pragma comment(lib, "Irrlicht.lib")
int main()
{
IrrlichtDevice *device = createDevice(EDT_SOFTWARE,
dimension2d<s32>(512, 384), 16,false, false, false, 0);
while(1)
{
}
}
See http://irrlicht.sourceforge.net/tut001.html