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 / Environment issue?

Author
Message
GoldD Dragon27
20
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 16th Nov 2009 16:58
Have DBPro with all the updates. Running on Windows7 with all the suggested patches and such.
Just simply trying to load an existing DBpro project example and running it, produces a runtime error 1003..trying to load bitmaps or objects.
I believe it to be and environment issue..DBPro does not know where to find the stuff...even when loading from the same directory as the .DBA or .DBPRO file.

What can I do?
RiiDii
21
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 16th Nov 2009 17:03
Check this post; might help. http://forum.thegamecreators.com/?m=forum_view&t=160097&b=1


Open MMORPG: It's your game!
GoldD Dragon27
20
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 19th Nov 2009 22:51 Edited at: 19th Nov 2009 22:52
That is the Thread for Windows 7 Compatibility...done all of it.
Still not working properly. DBPro still fails to load bitmaps reporting an error 1003.
Does not matter if it is a Gamecreators demo project or one of my own...still get the error.
Adrian
22
Years of Service
User Offline
Joined: 11th Nov 2003
Location: My Living Room
Posted: 19th Nov 2009 23:28
Try copying a file into the root directory of drive C: and load it into a new prog with the code below.

load bitmap "c:\mypic.bmp",1 : rem place your filename here
wait key

Do you get the error now?
If you do, I'd try uninstalling DBPro, reboot and install it again.
GoldD Dragon27
20
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 20th Nov 2009 00:19
The copy to Root C:\ was a fail.
Uninstalled...reinstalled...reboot...same problem.
Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 20th Nov 2009 08:16
What is runtime error 1003?

Your signature has been erased by a mod because we're sadistic losers with nothing better to do. (joke)
GoldD Dragon27
20
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 20th Nov 2009 19:18
runtime error 1003(could not load bitmap).
it has already been explained.
it is not a bitmap issue.
it has to be environment...i have run the programs before and they work fine. DBPro examples or my own code.
Dumped...reloaded...

I cant run dbpro at all...
what else can i do?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Nov 2009 19:41
Take your entire project, folders files and images, put the entire structure into a zip file, and upload it so we can see exactly what you are doing.

GoldD Dragon27
20
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 29th Nov 2009 21:15
Thanks for the help....
I knew it was an environment issue...
I fixed it myself...

curpath$ = GET DIR$()
SET DIR curpath$

I add these lines to the begining of any program...mine or otherwise...and the error goes away...

Login to post a reply

Server time is: 2026-06-11 14:45:57
Your offset time is: 2026-06-11 14:45:57