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.

Work in Progress / Dark IDE is back!!

Author
Message
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 23rd Mar 2006 03:28
Try going to File->Open and open a dbpro project, it should compile.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 23rd Mar 2006 03:32
Just tried to compile using File>Open and opened the DBPro PlasmaDemo and I got an exception error.

Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 23rd Mar 2006 03:37 Edited at: 23rd Mar 2006 03:40
I see a couple of problems

When I went File->New->Dark Basic File, typed a simple program, it compiled and ran you must save all source files before compiling right now, no option to have it save before compile yet. And make sure on the compile toolbar it say selected source for what is being compiled.

Edit: Compile, compile then run, run only, and debug all works with the meathod above.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 23rd Mar 2006 03:49
Taking note of found bugs real quick

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 23rd Mar 2006 03:51
Nope still getting the 'Object reference not set to an instance of an object' error.

I'm running .NET 1.1 (Retail) and .NET 2.0 (Retail)

Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 23rd Mar 2006 04:00
I have only recreated 'Object reference not set to an instance of an object.' once and that was when I had selected source selected from the compile toolbar, but no DB source file was open.

I'll look into, looks like I'm going to have a late night. I'll try to have most features in to keep compiling a bit simpler within a day or so.

If you figure it out please let me know...

Thanks

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 23rd Mar 2006 16:38
Scope complete, auto indent, and casing options are on the way! For casing you will be able to have keywords automatically made lower or uppercase, or proper casing(first character is upper).

We'll see how far I get by this weekend, I may release the entire program with all plugins, this will not be a final, but far from a final. Still much to do!

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 2nd Apr 2006 20:09 Edited at: 2nd Apr 2006 20:09
I have not gotten as far as I wanted, more than a week later and still no scope complete or anything... Been super busy, again

I'm working on making each row get "cleaned up" after you pressing enter or changing lines some other way. Right now I have the meathod to make this



turn to this, kinda like VB 2003



Scope complete and casing will be sometime soon too.

Sorry for missing March, I'll try to have a release out soon.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 11th Apr 2006 06:58
Here is the lastest build. Compiling should work. Everything is here to develope DBP projects and also the few other plugins(web browser, text and rich text editing...)

Please post bugs I want to squash them and wip out some of the bug spray also !

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 11th Apr 2006 07:39
Quote: "Here is the lastest build."


???
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 11th Apr 2006 07:41 Edited at: 12th Apr 2006 06:40
It be a few minutes. Having trouble uploading

Edit: No luck I'll give it a shot in a after work tomarrow

Edit: Still no luck, I'll keep trying.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 13th Apr 2006 07:02 Edited at: 13th Apr 2006 07:03
Here, I'll try a screenshot. Is anyone else having trouble uploading?

Edit: Hmm, worked...



Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!

Attachments

Login to view attachments
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 14th Apr 2006 07:04
So, are you still having trouble w/IDE's file uploading?
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 14th Apr 2006 07:15 Edited at: 14th Apr 2006 07:17
Here, lets try this time

Edit: Ok, I know where the problem is

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!

Attachments

Login to view attachments
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 16th Apr 2006 03:01
Found I bug I didn't catch before the upload... If you do NOT have DBP installed, the IDE will crash at startup. While copying dbp_config.dll, if it doesn't the IDE crashes.

I have added a check for the file before copying.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 16th Apr 2006 18:35
Hi, it's quite good. Only that the example code you included takes a while before compiling ends. I mean, a lot ...
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 16th Apr 2006 23:34 Edited at: 16th Apr 2006 23:35
Quote: "Hi, it's quite good."


Thanks

Quote: "Only that the example code you included takes a while before compiling ends. I mean, a lot ..."


That is because I'm using a while loop to check and make sure that the compiler has closed before moving on. I will look into finding a faster way with compiling.


Please keep playing with compile, create a new project then compile, open project then compile, change compile settings and then again, compile. I know of one problem so far and I think there is a couple minor problems which I can't seem to reproduce to well and is taking time to figure out.

Thanks again
Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 17th Apr 2006 00:37 Edited at: 17th Apr 2006 00:51
Quote: "That is because I'm using a while loop to check and make sure that the compiler has closed before moving on."


I don't know how you'd do it with .net, but you can use the GetExitCodeProcess Windows API to detect when a process has ended. That's what I'm using in my DBP IDE to detect when the compiler is finished.

Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 17th Apr 2006 01:00
I'll go through with what happens if I don't "pause" until the DBP compiler has finished.

I pass the .dbpro to the compiler. Using the System.Diagnostics.Process.Start meathod(if I remember correctly ) I pass the path of the DBP compiler and the .dbpro for the arguments. Now, lets say the user clicked Compile/Run button, if I don't "wait" for the compiler to finish the exe will not be created in time for execution as the System.Diagnostics.Process.Start meathod only starts an application. So I have a loop after the System.Diagnostics.Process.Start meathod to prevent this, also inside the while loop was where I was going to get the compile progress.

I have used a timr at 100ms and using an if statement check if the compiler was still running and was faster, but if all possible I would like not to do it this way. If I can't get it to speed compiling up I may go back this way.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
elbarto
18
Years of Service
User Offline
Joined: 16th Apr 2006
Location: Lueneburg, Germany
Posted: 17th Apr 2006 01:51
First of all: great work! That looks really nice!

However, I have the same problems compiling. Compiling takes up to 5 times longer and causes a cpu-load of up to 80%. That need to be fixed.
Apart from that there are some minor spelling mistakes to fix (e.g. langauge editor and some mistakes in the help-files)
I think hotkeys would come in handy for compiling (f5 for compiling and starting, just like in the old IDE).
I don\'t think a msgbox for compiler errors is not such a good idea. I don\'t like to click each time. A small message window like the output window will suffice.
I would recommend to highlight the line in which there is an error.
It would be best, if the required parameters where displayed in the status bar after entering a command.
A listbox for selecting and jumping to all the functions and labels of the project would be neat as well.
The open file dialogue doesn\'t remember the last path and chooses the darkide-folder instead.

I am looking forward to testing the next version.
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 18th Apr 2006 00:51
Quote: "I would recommend to highlight the line in which there is an error."


Yes, I agree. Please take due care that when an error happens within a linked file, the message box says, for instance, "error in line 76" when the line in the included file is really, again for instance, the 23rd. To reproduce this issue just introduce some words with no meaning in any of the included files (not the main one) and you will see what I am saying.

Quote: "I think hotkeys would come in handy for compiling (f5 for compiling and starting, just like in the old IDE).
I don\'t think a msgbox for compiler errors is not such a good idea. I don\'t like to click each time. A small message window like the output window will suffice."


Again, I agree: VS-Like.
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 18th Apr 2006 03:31
The compile issue has been resolved. Download the attached file and drop it into the plugins folder. The example project now is compiled and ran within a couple of seconds, and much less processor is used

Quote: "I think hotkeys would come in handy for compiling (f5 for compiling and starting, just like in the old IDE)."


I'll try to have this in in the next version.

Quote: "I don\'t think a msgbox for compiler errors is not such a good idea. I don\'t like to click each time. A small message window like the output window will suffice."


I have no control over this. The DBP compile shows the message box not me. I do belive I can keep the message box from displaying the errors and I have them show up in the output window.

Quote: "I would recommend to highlight the line in which there is an error."


May take some time, but will do.

Quote: "It would be best, if the required parameters where displayed in the status bar after entering a command."


May also take some time, but as before, will do

Quote: "A listbox for selecting and jumping to all the functions and labels of the project would be neat as well."


Not on a high priority, but I do plan on implementing this as I would love to have it to This will be a powerful tool and more than just displaying functions and labels

Quote: "The open file dialogue doesn\'t remember the last path and chooses the darkide-folder instead."


Will do...

Please keep the comments and questions coming.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!

Attachments

Login to view attachments
Pulsar Coder
20
Years of Service
User Offline
Joined: 3rd Jan 2004
Location:
Posted: 18th Apr 2006 09:13
Yes, it compiles faster. Still, when an error is located in an included file the line shown is not the on in that file.

Also, are you sure there is no way to prevent the compiler to pop up the messagebox? Maybe you should ask TGC ...
elbarto
18
Years of Service
User Offline
Joined: 16th Apr 2006
Location: Lueneburg, Germany
Posted: 18th Apr 2006 09:33
In BlueIDE there seems to be no popup. The sourcecode is available.
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 18th Apr 2006 15:43
Quote: "Still, when an error is located in an included file the line shown is not the on in that file."


That is from the compiler, not me. When I get to that it will show close to correct line number and I will push for the exact line number the error occured on.


Quote: "Also, are you sure there is no way to prevent the compiler to pop up the messagebox?"

Quote: "In BlueIDE there seems to be no popup."


I have not gotten to the point of figuring this out. Right now I'm trying to get the compile information and after more than 8 hours on it I have finally got some line numbers

But still having some trouble, like getting error information. This is not easy with .NET I will get more info on that error window And getting the correct line number is nowhere near easy.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 18th Apr 2006 17:40
The DBP compiler won't create a popup for error messages if it can find a window with a class name of TDPROEDITOR. It will instead create a file in memory that you can read to determine the current line number and compiler status. When a compiler error occurs, the compiler will send a WM_USER message to the editor. You can get the current line number by using the OpenFileMapping windows API to get the first 4 bytes of the file. However, once an error occurs, the filemap will contain a description of the error.

RobK explains it better than I can:
http://forum.thegamecreators.com/?m=forum_view&t=56639&b=1

Unfortunately, I have no idea how to do any of that with .net, but I've gotten it working perfectly with Delphi (not surprising, as that's what the original IDE was written in). As for reporting the correct line number an error occurs on inside of an include file, that is definitely tricky as the compiler just looks at all the source dumped together in one file (_temp.dbsource or something similar.) I'm sure you could figure out a way so that your IDE knows which line number each include starts on and subtract that from the main source to figure out where the error actually occured. Hopefully I'm making sense and not babbling on like a fool.

DarkIDE looks real promising, so keep up the good work.

Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 19th Apr 2006 00:32
Quote: "Unfortunately, I have no idea how to do any of that with .net"


I think I just found the secret on how to do this with the .NET Framework... creating a window with the class name of TDPROEDITOR. I will post about it once I get it down pack.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 28th Apr 2006 04:11 Edited at: 28th Apr 2006 04:17
I have got bookmark support implemented and will be working on getting goto line in tonight.

When compilin you can now see compile info in the output window. Right now it does not report the correct line, but that is still comming, along with the line that the error occured on being highlighted.



Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!

Attachments

Login to view attachments
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 28th Apr 2006 08:16 Edited at: 28th Apr 2006 08:25
I got the 'Go To Line' functionality implemented. Everything is going good so far and hopes it stays that way

Quote: "I think hotkeys would come in handy for compiling (f5 for compiling and starting, just like in the old IDE)."


This is comming next... well, with more

I will try to have another update out within a week or so, going to get shortcuts worked out and fix a couple of known bugs So hopefully everything works out...

Edit: And please with this next release, try compiling out as much as possible. Change compile settings and everything.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Cryptoman
20
Years of Service
User Offline
Joined: 24th Nov 2003
Location: Utah Mountains
Posted: 28th Apr 2006 09:40 Edited at: 28th Apr 2006 09:41
Your editor gadget does not work on XP home or pro,SP2. It shows no code. Doesn't refresh.

btw, all my machines are AMD, 4 of them and none of them show code.


Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 28th Apr 2006 14:13
this is still my favourite IDE (after blueIDE) will it be DBC compatible?

my forum - still in development
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 28th Apr 2006 15:59 Edited at: 29th Apr 2006 00:04
Quote: "Your editor gadget does not work on XP home or pro,SP2. It shows no code. Doesn't refresh.

btw, all my machines are AMD, 4 of them and none of them show code."


Screenshot please, If it is what I think it is, I'll try to have another update sooner.

Quote: "this is still my favourite IDE (after blueIDE) will it be DBC compatible?"


Thanks, and yes it will be DBC compatable, but not until after the initial release for DBP.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 29th Apr 2006 19:54
Shortcuts for compiling DBP projects is in.
F5 - Compile
F6 - Cimpile and Run
F7 - Run Only
F8 - Debug

Shortcuts can be changed in the Shortcut Editor.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
elbarto
18
Years of Service
User Offline
Joined: 16th Apr 2006
Location: Lueneburg, Germany
Posted: 29th Apr 2006 22:38
Nice! I am looking forward to testing it.
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 14th May 2006 06:40
Well, to start off, sorry for no updates for so long... been super busy again I tried posting the latest build yesterday but no luck... I have something really screwed up. I will have an update uploaded tomarrow as I'll be at my brothers

Just for those that are curious, Dark IDE at this update, is ~42000 lines long

Till tomarrow,
Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 14th May 2006 22:37
Here it is, the latest build.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!

Attachments

Login to view attachments
Raven
19
Years of Service
User Offline
Joined: 23rd Mar 2005
Location: Hertfordshire, England
Posted: 14th May 2006 22:55 Edited at: 14th May 2006 22:58
Downloading now, hope that the improvement made hold. (and that I can now compile without it crashing .. heh)

[edit] nm, now it doesn't even want to start.
probably an issue this end though, that new update of microsoft's seems to have killed a bunch of things.

Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 15th May 2006 01:50
The only thing I know of that may keep it from compiling is the output path in the project properties. I have had to go back and make many changes to it to make it work right. I think I'm close and should work with little problem.

There is one other problem I have that works right in the original IDE, but I get trouble with and that is, if I remember right, having the output path on a different drive than what the project is saved on.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 16th May 2006 20:34 Edited at: 16th May 2006 20:36
@Gen:

Okay, yesterday I did some testing on DarkIDE and here is a list of bugs and feature requests that are somehow essential to be implented into DarkIDE:



Despite this list I liked your IDE very much, its very professional like the Protean IDE was. Keep up the good work!

"Gangsters die, they don't go to heaven where angels fly!"
AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 20th May 2006 00:40
OK, I back!

Quote: "OPEN ALL PROJECT'S INCLUDE FILES BUTTON (LIKE IN BLUE:IDE)"

Can do, don't know how soon though. I need to start writing the list of things to do before I start forgetting

Quote: "SHOW COMMAND HELP AND PARAMS IN STATUS BAR (LIKE IN DEFAULT IDE)"

This one may be a little while.

Quote: "LIST THAT DISPLAYS ALL USER FUNCTIONS, TYPES, VARIABLES, ETC. (DEFAULT IDE)"

This has already been discussed. I have plans for this already but it too will be awhile. I want to put a fair amount of time on this and make it very powerful.

Quote: "GET RID OF THAT ERROR ON START, SOMETIMES I EVEN GET TWO ERRORS WHEN STARTING DARK IDE"

Can you post these errors?

Quote: "ICON & CURSOR TABS NEEDS SMALL PREVIEW WINDOW (DEFAULT AND BLUE IDE)"

This too, I have some good plans for it.

Quote: "WHEN ADDING MEDIA FILES TO THE PROJECT OPEN DIALOG SHOULD SAY SOMETHING LIKE "Media Files (*.*)""

I'll take care of this soon.

Quote: "WHEN PROJECT IS NOT YET COMPILED AND YOU CLICK ON THE RUN BUTTON YOU WILL GET A CRASH"

This too, will be taken care of soon.

Quote: "DARK IDE IS MISSING SOME OF THE BASIC 'RIGHT-CLICK' MENU TOOLS LIKE RGB COLOR PICKER, CONVERT TO DATA STATEMENTS, INSERT CODE SNIPPET AND MORE"

Yes there is many tools missing. I havn't had the time to add many "tools" but rest assured there coming

Quote: "WHEN COMPILING A PROJECT IT WOULD BE VERY NECESSERY TO HAVE A SOME KIND OF PROGRESS BAR OR PERCENTAGE DISPLAY TELLING US THE COMPILING PROGRESS"

I have givin up on this with .NET 1.1... I have found a way to get the compile status in .NET 2 and as soon Dark IDE is ported to .NET 2, it will be there.


OK, I have gotton the correct line numbers and the file that the error occured in to display I am going to make an option in the Preferences window, under Compilers->DBP, to have the file open and highlight the line that the error was on.

That is about all tht is going on at the moment.

Gen

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 20th May 2006 02:01
I could only get first error for some strange reason that second error does not show up after I restarted my computer and re-extracted DarkIDE.





"Gangsters die, they don't go to heaven where angels fly!"
AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 20th May 2006 02:05
OK, I was getting that one too and it has already been fixed. Other than this one I dont get ny errors. Maybee I should try on my brothers computer.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 20th May 2006 08:16
Here is the update, error in previous post is fixed in this version and correct line numbers and the file that an error is in is now reported.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!

Attachments

Login to view attachments
TobiasWK
19
Years of Service
User Offline
Joined: 4th Sep 2005
Location: Denmark
Posted: 20th May 2006 14:42
tried your newest version of Dark IDE.
I just have some problems:
I cant use icons for my .exe, it simply wont accept icons.
I cant compile and run my game, it says a file is missing... it is not!
Got some other weird errors... sometimes it cant find the .exe to compile.

Keep up the great work! When your IDE is running smoothly I'll switch for sure!

Current projects:
FPS Multiplayer - 10% (making network code)
Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 20th May 2006 20:32
Yeah me too, although if this wont be finished some time soon I maybe will finish my IDE.

"Gangsters die, they don't go to heaven where angels fly!"
AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 21st May 2006 00:27 Edited at: 21st May 2006 00:34
Quote: "I cant compile and run my game, it says a file is missing... it is not!"

Can you give more detail, post a screeny, the exact text in the error message. I can't find the problem unless I can reproduce it.

Quote: "Got some other weird errors... sometimes it cant find the .exe to compile."

First, it is not compiling an exe but to an exe. Again more detail please.


If these problem goes back to what I think they are, there are two things to double check until I can find out how to correct these problems.

1) Make sure the output path is on the same drive as DBP. I have a problem with this and I am still trying to figure this out as the default IDE does not have a problem with it.

2) Make sure the output path is correct. If the output path is relative to the project it will automaticlly become a relative path (after the project properties window is closed then reopened). Also you can just specify a relative path.

Gen


Edit: And can someone test if the line number and file is correctly reported when there is an error?

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
TobiasWK
19
Years of Service
User Offline
Joined: 4th Sep 2005
Location: Denmark
Posted: 21st May 2006 02:25
Sorry for the lack giving much detail about my errors... was in a hurry, so just tried your great looking IDE

Quote: "First, it is not compiling an exe but to an exe. Again more detail please."

I meant compiling my source to .exe

First... The errors I got is, like you say, about the output path. I have tried all sort of combinations.
The DBP output path is on the same drive.

Quote: "If the output path is relative to the project it will automaticlly become a relative path (after the project properties window is closed then reopened). Also you can just specify a relative path."

I think the problem is this... it cant compile because it cant find the source files to compile.


I think its my main DBPRO file... because I just tried some other projects, and they seem to work.
Im going to try working with Dark IDE for a while and then see what happends

Current projects:
FPS Multiplayer - 10% (making network code)
TobiasWK
19
Years of Service
User Offline
Joined: 4th Sep 2005
Location: Denmark
Posted: 21st May 2006 14:15
Here is a screen... I get this error ALOT. At first it seems like everything is working, I compile - no problems... then I try compile and run and everything goes wrong.

Next I cant even click project properties, I get this error.
I think its something with the path thats going wrong.


Now to the other thing with the path error. I can compile my project, but not compile and run. I get this error then. The path under project properties is correct.


Hope you can use this
I'll post more if I find anything else.

Current projects:
FPS Multiplayer - 10% (making network code)
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 21st May 2006 18:23 Edited at: 21st May 2006 18:42
OK, for the second error... Ohh, you can't get to the project properties

Can you post you DBP project file. I don't need the source, just the *.dbpro. Now I got something I can work with, I can open all the DBP examples and not have any problems...

In the edit menu, I have gotten line commenting working, ie, Comment selected lines, uncomment selected lines. I've also got block folding working in the edit menu. I'll start working on a plugin to add some tools to the Tools menu.

Gen

Edit:

@ TobiasWK, can you copy the text from the first error and paste it into the
box?

Quote: "WHEN PROJECT IS NOT YET COMPILED AND YOU CLICK ON THE RUN BUTTON YOU WILL GET A CRASH"

Just getting an error in a message box that suggest to compile. I'll improve this later to ask you if you want to compile then to try to run again.

Windows XP Pro Service Pack 2, Pentium 4 2.4 GHz, 768 MB PC3200 Ram, ATI Radeon X700 Pro 256 MB
Dark Basic Professional 5.9 Dark IDE nearly complete!
TobiasWK
19
Years of Service
User Offline
Joined: 4th Sep 2005
Location: Denmark
Posted: 21st May 2006 22:00
Sure here you go

First error:


My .DBPRO file:


hope you can use it

Current projects:
FPS Multiplayer - 10% (making network code)

Login to post a reply

Server time is: 2024-11-23 18:28:38
Your offset time is: 2024-11-23 18:28:38