Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / runtime error 1512

Author
Message
Ants95
17
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 30th Jun 2010 19:55 Edited at: 30th Jun 2010 20:08
when i go to compile i get the error

runtime error 1512- display is not supported by available hardware at line 0

i just got the program so i just got the direct x and the code is from one of the example prodjects that come with it

PLZ HELP

Can someone plz tell me what i need to do?

-Ants95
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 30th Jun 2010 20:17
That error means that the Screen resolution set by the editor isn't supported by your hardware; either because it's set too high, or you need to update some drivers or maybe Direct X (You need to download and install the latest version of 9.0c, but you say u've already don this)

Try changing the resolution to 640 x 480, which is a fairly low and commonly supported resolution and go from there.

chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Jun 2010 20:20 Edited at: 30th Jun 2010 20:24
Quote: "runtime error 1512- display is not supported by available hardware at line 0"


It is saying to you what the problem is !!....just delete line 0.

Re-edit
@=PRoF=
Your definition is quite correct.I didn“t see your post sorry !!

Cheers.

I'm not a grumpy grandpa
Ants95
17
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 30th Jun 2010 20:22 Edited at: 30th Jun 2010 20:23
wait u mean my resolution as in my properties on the desktop?

[edit] and yes i just resently had to reinstall windows so some drivers arnt there...if that the pro lem maybe what driver is it that i need (if you happen to know)

-Ants95
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 30th Jun 2010 20:31 Edited at: 30th Jun 2010 20:33
I mean the resolution in the project settings in the DBPro Editor, not your windows desktop resolution.

And as for drivers, my guess would be the one for you graphics card

Alfa x
20
Years of Service
User Offline
Joined: 1st Jul 2006
Location: Colombia
Posted: 30th Jun 2010 20:47 Edited at: 30th Jun 2010 20:48
use the following command (change it to what you can need):

SET DISPLAY MODE 1024, 768, 32
Ants95
17
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 30th Jun 2010 21:18 Edited at: 30th Jun 2010 21:22
[EDIT] if this helps at all:
-Using windows XP
-downloaded directx 9.0c




Quote: "Try changing the resolution to 640 x 480, which is a fairly low and commonly supported resolution and go from there."


ok the resolution was already at that so thats not the problem


Quote: "or you need to update some drivers"


computer management - devise manager - video controller (VGA compatible)


thats not installed is that maybe it...and if so were do i get?


Quote: "
use the following command (change it to what you can need):

SET DISPLAY MODE 1024, 768, 32 "


i dont think thatll work will it if the resolution is already at 640 480

-Ants95
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 30th Jun 2010 21:22
Yes, the VGA Compatable driver is the problem.

Without knowing what graphics card you have, I can't really help much as to where to get the drivers, but Windows Update is a good place to try first

Ants95
17
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 30th Jun 2010 21:28 Edited at: 30th Jun 2010 21:28
ok this is probebly a stupid question but ima ask anyways...how do i find what graphics card i got

BTW thanx for all the help so far

-Ants95
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 30th Jun 2010 21:37
Well, look on the Box u'r PC came in? Check out the model number online; If your confident and sure what u'r doing (and you have a desktop not a laptop) then you could open up the case and have a look? if not, ask a PC savvy buddy to find out for you.

Ants95
17
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 30th Jun 2010 22:34
wow i be looking all over for the driver but dont know what one to get. theres a sticker on the botom of the laptop...will that help at all?

-Ants95
TyJBr2
AGK Backer
16
Years of Service
User Offline
Joined: 30th Jul 2009
Location:
Posted: 1st Jul 2010 00:39
Try CPU-Z http://www.cpuid.com/softwares/cpu-z.html
It should be able to tell you what you have.
Also Windows Update - Custom if on XP should have a driver for you mabey.
I think Vista and 7 just update.
Ants95
17
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 1st Jul 2010 02:54
Quote: "Try CPU-Z http://www.cpuid.com/softwares/cpu-z.html"


if i cant find it ill se that as a back up way t find it (=

-Ants95
Hockeykid
DBPro Tool Maker
18
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 1st Jul 2010 03:04
Open run and type in "dxdiag" (without the quotes), go to the display tab and look for the chip type. Thats your graphics card.

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 1st Jul 2010 09:25
What make of laptop is it? You can get the drivers from the manufacturers website.

And the issue is probably due to setting your screen color depth too high since your set to use 640x480. Try setting the resolution in the editor to 640x480x16, or change the set display mode to 640, 480, 16 and try that.

My signature is NOT a moderator plaything! Stop changing it!

Login to post a reply

Server time is: 2026-07-25 08:13:41
Your offset time is: 2026-07-25 08:13:41