IDE broken or something

Archives Forums/Blitz3D Bug Reports/IDE broken or something

jfk EO-11110(Posted 2006) [#1]
(EDIT: the problem is solved. This thread may be removed in a few days)

Not sure if this is a bug in Blitz or somewhere else in this machine. Blitz worked without problems until yesterday. I was compiling a program that was trying to use a function from a 3d headset dll, something we discussed some time ago in the Blitz3D section.

During compiling the progressbar then used to freeze. I had to kill the blitz tasks in the task manager. After that Blitz (or the IDE) couldn't be started anymore. When I run it, there's some activity, the hourglass, but then nothing happens. 3 Tasks show up in the manager: ide, blitz3d and blitzcc. But no visible IDE. Got to kill them manually.

Reinstalling the Update (191 or 196) didn't help. So I completely uninstalled Blitz3D (the file cfg blitz.fon was locked for some reason and couldn't be uninstalled, I clicked "ignore").

Then I reinstalled Blitz3D from the original CD (I think version ~1.64). This version was working. THen I updated to 196 - no success, the same problem again. So I De-Reinstalled again and updated to 191, again without success.

It's an old Thinkpad that I use to surf the web, with win98 (not SE) and msie 5.5.

191 was running without any problems before, what could be the cause?

I didn't install anything in that time, so I think it's nothing to do with a new app. I also scanned the system for viruses using the latest antivir update.


skidracer(Posted 2006) [#2]
In stead of clicking ignore I would have restarted the machine and tried to remove the font again.


Kuron(Posted 2006) [#3]
Uninstall what you have (just delete the B3D dir).

If the font is locked, try renaming it.

Reboot, delete the font

Then reinstall B3D.


jfk EO-11110(Posted 2006) [#4]
I don't think it was the font file. I already tried a new install after a reboot. The font file is no more locked after the reboot .

The CD version is 1.66. This version is working. After ending it, the font file is still unlocked. I just tried to install 1.87, without success. Installation ends ok, but when I run Blitz, again no IDE (at least not visible, tho it's listed in the task manager - seems to hang). After this hanging the font file is locked. I guess it has something to do with msie that is the frame for the IDE. I already tried its repair function without success. now I'll try to "uninstall" msie, aka downgrade to version 4.


jfk EO-11110(Posted 2006) [#5]
Ok I tried it with several versions of msie (5.5, 4.0, 5.0) no luck. It's hard to isolate the problem since there is no error message. Sometihing must be damaged permanently. It's not part of msie or blitz, it must be something else, maybe a registry thing.

Or maybe it's one of those things that are protecting themselves from uninstallation by using the systems restore features - tho I doubt this works on win98 unless it's a homebrew restore thing.

This is only my 2nd machine, I'm coding on the other one. But it's useful to have this web terminal blitz-enabled, so I can test the code snippets I am posting frequently, etc.


Kuron(Posted 2006) [#6]
Or maybe it's one of those things that are protecting themselves from uninstallation by using the systems restore features - tho I doubt this works on win98
Win 98 doesn't have that feature.

Any chance you can reinstall 98? It sounds like a 98 system file got corrupted.


Kuron(Posted 2006) [#7]
or could you try using a thirdparty ide (like IndeEd) and just using Blitz to compile?


jfk EO-11110(Posted 2006) [#8]
I really hate to reinstall the OS. Mainly because I got to install all those tools and restore a lot of stuff like bookmarks etc. I hate it. But of course, that will be the "final solution". Probably I'm going to install linux then anyway, but it's a bit unplaned by now.

I tried to install one of the free IDE's and :) I miserably failed again. BIDE crashed, and IndED (had to register a forum account to download it) tells me I should select the blitz compiler, but I already did that, so I have no idea what's wrong, plus a couple of frequent error messages - uninstall ASAP! I didn't try those IDEs using .NET because I'm pretty sure .NET will be the final killing hit for this stoneage machine.

Wow, now I've spent a lot of hours and still no luck. I even think it's getting worse. Maybe only a "bad puter-karma day".


Floyd(Posted 2006) [#9]
I've had two experiences where the IDE simply would not launch.

One was a badly formatted decls file. It was missing a single " character on the final line.

The other was the IDE toolbar bmp problem. The toolbar images were 8-bit, as they had always been. But suddenly the IDE wouldn't start. I loaded the images into a paint program and saved them back as 24-bit bmp. The IDE again worked normally.


Damien Sturdy(Posted 2006) [#10]
Come back tomorow.

Believe it or not Blitz randomly decides it doesn't want to start on my machine. I can normally fix it by just waiting a day, which is annoying.


jfk EO-11110(Posted 2006) [#11]
Cygnus - lol, I wouldn't accept that. Good news people, the problem is solved!

I still don't know what it was, probably a decls file like Floyd mentioned. I had to remove everything that was left in the Blitz3D folder after the Deinstallation. That fixed it.

If such a problem appears it's a good idea to save all user files that are located inside the Blitz3D folder (userlibs etc) and then completely delete the Blitz3D folder, then install again.

Thank you everybody.

EDIT: Found the cause. It was a decls file. I made some "experimental" (don't ask) tests. So in my decls file there was a funcion name beginning with an underscore:

_AutoDetectComPort%():"AutoDetectComPort"


This caused the Ide to hang. Using this instead:

AutoDetectComPort%():"AutoDetectComPort"


works properly (well the dll doesn't work, but that wasn't the problem)


Damien Sturdy(Posted 2006) [#12]
Cool. I wasn't joking with my post though. My laptop's B3D will sometimes run just once, then never again that day.