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 / start up bug or problem - Run time error 1511

Author
Message
Plugged
23
Years of Service
User Offline
Joined: 30th Nov 2002
Location: Hertfordshire
Posted: 28th Oct 2003 14:14
Runtime error 1511 - display cannot be created due to invalid function parameters at line 0 any help coz i have no idea i recently updates to dx9.0b and undated the drivers for my TNT2 i'm running windows ME if thats any help

CLear Coder
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 28th Oct 2003 15:21
It could actually be a WinME/DX9.0 bug, I strongly suggest you use Win98se instead of ME, ME is a disease that M$ inflicted on PC users so they could charge a fortune for Windows XP Professional.


Van-B

OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 28th Oct 2003 15:37
Make sure your not trying to run a 24-bit graphics mode. In addition, make sure your not trying to use some wierd graphics mode.


Avatar & Logo by Indi. Insert witty comment here...
heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 28th Oct 2003 17:35
You must have a 16 MB TNT.
This error happens when you don't have enough video memory.
Try a different video card driver or get a 32MB card.

The more you see, the more you know.
The more you know, the more you see.
KOL
22
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 28th Oct 2003 21:08 Edited at: 28th Oct 2003 21:15
Are there any graceful ways to have DBPro adjust the video display so that this error does not happen for an end user? <So I don't have to preach to them that THEY have the wrong video mode running > The only way I know if is not to run in windowed mode but in exclusive mode <and for XP that's frowned on.... >
I have seen some code that will change displays and others that will not, I havn't been able to pin it down yet.
Plus for any error that occur at Line 0, how the hll do we catch <do any thing about> these errors if the error occurs before any of our code has even ran yet?

Login to post a reply

Server time is: 2026-07-26 16:02:32
Your offset time is: 2026-07-26 16:02:32