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

Author
Message
Lucas Tiridath
AGK Developer
15
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 21st Sep 2009 23:36
Hi,

I've just started work on a new game which makes use of one exe as the main source code and 2 which are linked with #inculude.

When I go to compile the main source code the compiler appears but the bar does not progress at all. Then after a while, the egg timer by the mouse disapears too and nothing happens. It appears to be using 100% CPU according to task manager but is still responding. When eventually I give up on it, it cancils fine.

The code I'm trying to compile is as follows:



Note that no error appears. It just simply stops working like a program in an infinite loop.

Any thoughts on what might be the problem? Thanks,

Lucas Tiridath.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 22nd Sep 2009 00:12
You can't include exe's. You include other .dba source code files.

No wonder compiler is struggling, although really it should detect straight away you are doing something wrong and throw an appropriate error.

Boo!
Lucas Tiridath
AGK Developer
15
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 22nd Sep 2009 10:04
Thanks.

So if I include a .dba source code file, does it become part of the .exe or do I need to keen the source code files with the exe?

Thanks,

Lucas Tiridath
Garzu
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: London
Posted: 22nd Sep 2009 13:56
it becomes part of it.

Lucas Tiridath
AGK Developer
15
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 22nd Sep 2009 19:59
OK thanks, thats clarified things and sorted the problem

Login to post a reply

Server time is: 2024-09-28 10:23:31
Your offset time is: 2024-09-28 10:23:31