A strange error
BlitzMax Forums/BlitzMax Beginners Area/A strange error
| ||
All I have is a dummy program: Graphics 640,480,16 WaitMouse End and it has an error window that pops up on execution which states: "Unhandled Exception:CreateDevice Failed result=-2147024882" I didn't spot this one in the wiki or anything. This is a fresh install of windows so maybe I'm missing an OpenGL update perhaps? |
| ||
What level of Bmax are you using? The default driver changed so you either have no DX or no GL capability. |
| ||
This is a fresh install of windows so maybe I'm missing an OpenGL update perhaps? Try DirectX. Either that or your computer simply does not support a 640x480x16 resolution. Or at least your drivers are preventing it for some reason. |
| ||
FlameDuck, I'll try my native resolution now. Edit: Same error :/ I'd rather use OpenGL for compatibility reasons. After doing some reading I found you can switch to the OpenGL driver as the Windows version defaults to DirectX. I read somewhere in another thread to use: setgraphiscdriver glmax2ddriver() however it comes up with a compile error. |
| ||
Which level of Bmax are you using? |
| ||
I'm sorry... what do you mean by level? Edit: If you mean version then the latest. I only downloaded it last night. |
| ||
What does Help / About tell you is the BlitzMax Release Version? Downloading should be followed by updating and then syncmodding. Have you done all these so your 'version' states 1.22? <edit> Once you can confirm you're on the latest level then try... setgraphicsdriver glmax2ddriver() to see the results in OGL and 'Start / Run / dxdiag' to check your DX level. If it still fails you need to give machine spec especially graphics card and driver level. |
| ||
You mean what version? and it is setGraphicsdriver glmax2ddriver() (c and s mixed) if that isn't known as well, you are using an extremely outdated version and definitely need to update |
| ||
Haha, it worked, Dreamora! I didn't even notice the typo. Proves even in a hurry I shouldn't be so lazy as to copy and paste without reading over. |
| ||
For the future be aware that valid commands get 'coloured'. |