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 / Compiler error problem

Author
Message
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 12th Oct 2013 19:28
Hello,

In my code I changed the path of a load object statement.
The compiler now keeps prompting me for not beeing able to locate the original path wich does not exist anymore, even when I REM the changed load object statement.

I don't understand this.
Please help me out.

Frans
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 12th Oct 2013 20:34
What about deleting .Dbpro file and click in Dba to make a new Dbpro ?

I'm not a grumpy grandpa
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 12th Oct 2013 21:22
Does not work chafari.
Keeps complaining about missing include file although I never had one.
It's also searcing in users\local\temp on c: while my workfiles are on a different drive.
I guess my work is lost ..

Thank you anyway.
Rudolpho
20
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 15th Oct 2013 19:15
That doesn't sound right...
Try opening the .dbpro (project) file with notepad and see if it still references your file.
If you're including it using the #INCLUDE statement, that is a pre-processor statement. In DBPro I recall these (I would say incorrectly) get resolved before comments are removed, so trying to comment it out won't get rid of it.


"Why do programmers get Halloween and Christmas mixed up?"
Frans
17
Years of Service
User Offline
Joined: 12th Sep 2008
Location: Netherlands
Posted: 15th Oct 2013 20:38
It works again.
I started a new project and opened the existing .dba in it.
At least that is what I think I did...

I thank you both for looking into it!

Login to post a reply

Server time is: 2026-07-07 15:10:39
Your offset time is: 2026-07-07 15:10:39