PDA

View Full Version : IDirect3DDevice7 cannot be made



Wizard
02-10-2009, 08:03 AM
I would appreciate it if someone can help me.

When I select DO3D to get hardware acceleration with begin and endScene I get an ugly error message: IDirect3DDevice7 cannot be made. Using latest unDelphiX.

Anyone had the same problem?


if not (doDirectX7Mode in DXDrawGame.Options) then
DXDrawGame.Options := DXDrawGame.Options + [doDirectX7Mode];
if not (doHardware in DXDrawGame.Options) then
DXDrawGame.Options := DXDrawGame.Options + [doHardware];
if not (do3D in DXDrawGame.Options) then
DXDrawGame.Options := DXDrawGame.Options + [do3D];
if doSystemMemory in DXDrawGame.Options then
DXDrawGame.Options := DXDrawGame.Options - [doSystemMemory];
DXDrawGame.Initialize;

kotai
28-10-2009, 04:37 PM
Do you have DirectX installed in your system ?

Kotai

Wizard
29-10-2009, 06:16 AM
Yes I do, I actually asked the same question to Jaro Benes and he says it's because I use a larger image file than DirectX can handle...

ijcro
12-11-2009, 07:20 AM
I'll repair interface and I'll make the enhacement for check texture size in low level od DelphiX in near DelphiX version.