If you are running a program in the background which uses D3D, and then try and run an IrrLicht program, the IrrLicht program may crash.
I am running Ragnarok Online (which uses DX) in the background, and when I run my IrrLicht app, I get the error: "Instruction at 0x00 referenced memory at 0x00, memory could not be read"
If I close RO and run my app, it does not crash.
This happens with both MSVC and DevCpp (with no DX) libraries.
Let it be known.
Let It Be Known!
Let It Be Known!
a screen cap is worth 0x100000 DWORDS
-
Guest
Also if you are running program using DirectX in fullscreen mode in the background you'll get a lot of warnings: "DirectX8 present failed."
which means that function IDirect3DDevice8::Present is failed during CVideoDirectX8::endScene function. At least I can see it on my machine :)
So, as far as I see, there are two ways to solve this:
1. Do not let user to switch out of you fullscreen program (e.g. catch Alt+Tab). But in this case I'm not sure how it works behind the popup windows and so on.
2. Do not render picture when your app is inactive.
Anyway, as far as I see the app cannot restore in fullscreen mode after it has been in the background.
Please, correct me if I'm wrong.
Thanx,
Mike.
which means that function IDirect3DDevice8::Present is failed during CVideoDirectX8::endScene function. At least I can see it on my machine :)
So, as far as I see, there are two ways to solve this:
1. Do not let user to switch out of you fullscreen program (e.g. catch Alt+Tab). But in this case I'm not sure how it works behind the popup windows and so on.
2. Do not render picture when your app is inactive.
Anyway, as far as I see the app cannot restore in fullscreen mode after it has been in the background.
Please, correct me if I'm wrong.
Thanx,
Mike.