Hi, I found out that a couple of international users seem to have trouble running a basic BlitzMax directX screen even though they have DirectX9 installed (and correct Radeon drivers) on a modern XP PC. OpenGL works fine. I would like to know if it's something on their PCs specifically, or if it's anything to do with their XPs being set in Greek and Finnish modes (this could be a fluke though).
So I've made this tiny test app:
http://www.greyaliengames.com/framework/directxtest.zip (578Kb)
And I wonder if you can try it on your PC. It should show a black full-screen 800x600x32 bit screen running at 60Hz with some text on it. Press Escape to exit.
If you don't see the black screen with text (you may see an access violation instead), please let me know your system specs and international settings. Thanks very much.
For those of you who are interested, this is the code:
I had the same problem with oz and some debug code I wrote returned "Attempt to access field or method of null object", and this seems to be occuring on the GraphicsModeExistsline probably because D3D7Max2DDriver() is returning null and thus no current driver is being set. So why do these PCs that play other games fail to set the DirectX driver in BMax? Any ideas? Look at these screenshots:


Thanks for helping me test this. When solved, it will help everyone out.
So I've made this tiny test app:
http://www.greyaliengames.com/framework/directxtest.zip (578Kb)
And I wonder if you can try it on your PC. It should show a black full-screen 800x600x32 bit screen running at 60Hz with some text on it. Press Escape to exit.
If you don't see the black screen with text (you may see an access violation instead), please let me know your system specs and international settings. Thanks very much.
For those of you who are interested, this is the code:
Strict SetGraphicsDriver D3D7Max2DDriver() Local OK:TGraphics = Null Local ScreenWidth=800 Local ScreenHeight=600 Local Depth=32 If GraphicsModeExists(ScreenWidth, ScreenHeight,Depth) Then OK = Graphics(ScreenWidth, ScreenHeight,Depth,60) EndIf If OK = Null Then End While Not KeyHit(KEY_ESCAPE) Cls DrawText("Does this work?", 10, 10) DrawText("Press <Escape>", 10, 30) Flip Wend
I had the same problem with oz and some debug code I wrote returned "Attempt to access field or method of null object", and this seems to be occuring on the GraphicsModeExistsline probably because D3D7Max2DDriver() is returning null and thus no current driver is being set. So why do these PCs that play other games fail to set the DirectX driver in BMax? Any ideas? Look at these screenshots:


Thanks for helping me test this. When solved, it will help everyone out.