Code: Select all
m_pDevice = createDevice(EDT_DIRECT3D8, core::dimension2d<s32>(800, 600), 16, true, false, true, this);Code: Select all
m_pDevice = createDevice(EDT_OPENGL, core::dimension2d<s32>(800, 600), 16, true, false, true, this);According to dxdiag.exe, I have DirectX 9.0c installed. My graphics card is pretty lame, but in any case my system config is besides the point - irrlicht.dll shouldn't crash if it doesn't like the DirectX features it finds - it should just return NULL for the device.Visual Studio 7.1 wrote:Unhandled exception at 0x1000706f in Lite.exe: 0xC0000005: Access violation reading location 0x00000000
Irrlicht.dll!1000706f()
Irrlicht.dll!10006df5()
Irrlicht.dll!100ce4c5()
Irrlicht.dll!100aa25d()
ntdll.dll!7c82f9dd()
Irrlicht.dll!100aafe6()
Irrlicht.dll!100abd74()
Irrlicht.dll!100ac2b2()
Lite.exe!CGameManager::CreateDevice() Line 67 + 0x31 C++
Lite.exe!CGameManager::CGameManager() Line 30 C++
Lite.exe!CGame::CGame() Line 17 C++
Lite.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * __formal=0x00000000, char * strCmdLine=0x001420bd, HINSTANCE__ * __formal=0x00000000) Line 26 C++
Lite.exe!WinMainCRTStartup() Line 251 + 0x30 C
I don't yet have the DirectX SDK installed, so I can't compile irrlicht.dll and look at the code where it's crashing, but the addresses in the call stack above might be enough for someone to take a look at the problem.