I want to use the library in a Dialog application MFC. For example consider the wizard included in dx sdk 8.1 that builds a simple dialog with a frame in that you see a teapot.
In Irrlicht 0.10.0 "createDeviceEx" can accept a window's handle as a input.
see a code fragment as below:
...
HWND hWnd;
hWnd = GetDlgItem(IDC_STATIC)->m_hWnd;
SIrrlichtCreationParameters p;
p.DriverType = EDT_SOFTWARE;
I'm trying to do this myself but the problem is I learned c++ from Irrlicht and have no experience with mfc and it's very confusing.
if I could get Irrlicht to work with mfc I could devolop alot of useful tools and projects with irrlicht that are not possable otherwise without rewritting alot of the engine.
I was thinking of using MFC to create the GUI for some Irrlicht toolkits i'm planning. Then i came across www.wxwidgets.org . I thought using this (or a similar library) might be a better option as the application should then be compatible on all platforms supported by Irrlicht