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.

Newcomers DBPro Corner / Runtime error 1514 24 bit depth not supported

Author
Message
jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 24th May 2006 13:14
"Runtime error 1514 24 bit depth not supported. Select either 16 or 32 bit mode at line 0".
This comes up on running the exe programme on a different computer to the one the prog is compiled on.
Even with a simple 'load bitmap "test.bmp":suspend for key'. The bmp is a 32X32 1 colour bitmap 8bit/256 (attached) ie no 24 bit in sight.
Can anyone tell me why??
Jayell

Attachments

Login to view attachments
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th May 2006 19:13
Please do not cross post across the boards. Asking in one place is enough. I answered your question in the other thread, not all graphics cards support 24-bit mode.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th May 2006 19:28 Edited at: 24th May 2006 19:30
The program isn't in 24-bit mode though. That's the point, it's complaining about a mode that it isn't in.



jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 25th May 2006 00:22
My abject apologies for cross-posting, and thaks for the replies Phaelax and BatVink.
However,no-one hs solved the problem - why error 1514 when I am not using a 24-bit bitmap?
Jayell
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 25th May 2006 01:38
Well what is the default mode for DB Pro? If it's 24bit then yeah, your in 24bit mode.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th May 2006 00:58
default mode is 16 i believe. I haven't seen this problem since DBC with my voodoo card.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Bahamut
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Brighton
Posted: 26th May 2006 01:06
I responded in your other thread.

jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 6th Jun 2006 00:54
Thank you for all the advice! It is now working OK, by changing the display parameters in the Control Panel of the target computer to 16 bit (24-bit was selected before).
This was necessary even if I compiled with the command "set display mode 800,600,16".
Most peculiar - you would think the display mode in the target computer would be irrelevant as DBasic prog is changing it?
Jayell
jayell leedham
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: North Yorkshire
Posted: 6th Jun 2006 13:52
Just to finish - (Bluestar4) - I checked, and the target computer probably has an old card, it was set to 24 bit when it gave the error 1514, and it could be set at 800,600,16 resolution which is what I programmed in DBasic. It does have DirectX 9.0c.
Many people have problems, I am told, with such old cards; they often only accept square textures!
Thanks again all,
Jayell.

Login to post a reply

Server time is: 2024-11-27 18:48:21
Your offset time is: 2024-11-27 18:48:21