Keep getting Unhandled Exception in Demo version

BlitzMax Forums/BlitzMax Beginners Area/Keep getting Unhandled Exception in Demo version

Kevin(Posted 2007) [#1]
I was going to try out the demo version of BlitzMAX but recieve the following exception on all examples and source: -

Unhandled Exception:CreateDevice Failed result=-2147024882


Any ideas?
My PC is a Dell Dimension 5150 (less than a year old).

Thanks,

Kevin.


tonyg(Posted 2007) [#2]
Have you got a 3D graphics cartd with, at least, DX7 and updated OGL drivers?
Anyway this looks remarkably similar.


fredborg(Posted 2007) [#3]
Try adding:
SetGraphicsDriver GLMax2DDriver()
At the start of the code. It sounds like there is a problem with your DirectX graphics driver.


GfK(Posted 2007) [#4]
Doesn't the demo default to GL anyway? In which case you'd need SetGraphicsDriver D3D7Max2DDriver() instead.

I deleted a lot of the sample code on here, so I can't check whether or not the samples specify a graphics driver or just use the default one.


Kevin(Posted 2007) [#5]
Setting the 'SetGraphicsDriver GLMax2DDriver()' has got the examples working.

Examples now run, although extremely slow!

I guess I need to look at the graphics card/drivers

Thanks.


Kevin(Posted 2007) [#6]
Just my luck, finally (yes, after a month), I finally sort out the drivers only to have the demo expire!

It's a pity that the demo wasn't done to allow a limited amount of uses.