1)
Compilation of MFC application with included irrlicht.h returns an error:
Code: Select all
error C2059: Syntax error: ( ...\irrlicht\include\irrallocator.h 47 1
Code: Select all
//! Construct an element
void construct(T* ptr, const T&e)
{
new ((void*)ptr) T(e); // Error is here
}
2)
I created an MFC application based on dialog windows and I created a picture box. Then I tried to render 3D scene into the picture box, but I failed, because the function CreateDevice returns NULL. On the other hand, this function works corectly for the main window of the application. But I need to place the 3D rendering into a limited region, like a picture box!
I don't know, how make MFC to work with IrrLicht .