Search found 25 matches

by Aaronm82
Jan 08, 2015 16:53
Forum: DOS
Topic: Windows 8.1 not running my dos program?
Replies: 8
Views: 4406

Re: Windows 8.1 not running my dos program?

I personally don't have Windows 8, so I can't test this myself. Thanks guys for testing this out. From the sound of things, and from looking at St_W's screenshot, it looks as though they will work in 64bit Windows as long as DOSbox is used. Otherwise, no can do. IF this was, say, 32bit version of Wi...
by Aaronm82
Jan 08, 2015 10:09
Forum: DOS
Topic: Windows 8.1 not running my dos program?
Replies: 8
Views: 4406

Re: Windows 8.1 not running my dos program?

Okay, thanks :-) I couldn't get my programs to work under 64bit Windows 7 either, even after trying all the compatibility modes. I guess DOS programs are a write-off in 64bit Windows. I'm sort of confused, I thought FreeBASIC compiled programs were 32bit and that therefore they would work in 64bit. ...
by Aaronm82
Jan 08, 2015 2:39
Forum: DOS
Topic: Windows 8.1 not running my dos program?
Replies: 8
Views: 4406

Windows 8.1 not running my dos program?

Hello, Is there a reason why my DOS guitar programs aren't working under Windows 8.1 x64 ? I received an email from somebody who downloaded my program informing me that he couldn't get it to work? They tried using several "compatibility modes" to no avail. I compiled all of my dos programs...
by Aaronm82
Oct 24, 2014 10:45
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

I will research this "ON LOCAL ERROR" since I am not familiar with that.

When refering to my QuickBasic 4.0 Manuals, I don't see that particular command mentioned, however because QB 4.0 is rather old I may need to "upgrade" some of my error handling.

Thanks :-)
by Aaronm82
Oct 20, 2014 22:37
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

The error handler still doesn't work in the large program I'm trying to get it to work in. I've followed exactly the example set forth in "Fbctest" above by FXM. However, I think my QB program is way to big... it's 2,376 lines of code just in the main module alone, if you add in all the SU...
by Aaronm82
Oct 20, 2014 9:29
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

Okay, thanks :-)
by Aaronm82
Oct 20, 2014 9:20
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

Thanks FXM!! This works perfectly. You have solved my problem!! :-) Appreciate all your guys help. I will definitely print out a copy of those FREEBASIC error codes! REM FBCTest.bas ON ERROR GOTO ehandle OPEN "crummy.txt" FOR INPUT AS #1 END ehandle: nErr = ERR FOR eboxr = 13 TO 17 FOR ebo...
by Aaronm82
Oct 20, 2014 9:17
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

I guess getting the ERR code isn't too big a deal... I just want my popup box to display, so at least I'll know if there was an error.

Thanks for suggesting the "-ex" switch. Every little bit helps my understanding.
by Aaronm82
Oct 20, 2014 8:56
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

I tried it again, and now it works! Thanks you guys. I don't know why I couldn't get it to work before. The "-ex" switch makes the difference. Good news is my red popup box appears!! But now it says "Err 0", not "Err 53" for file not found. Are the FreeBASIC error codes...
by Aaronm82
Oct 20, 2014 0:11
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

I created a tiny program called "FBCtest.bas" with the entire code posted below. It tests the error handler for file not found. And when the file isn't found, a popup window displays the message. This works correctly in QBasic 1.1, QBX, and QB 4.5 I compiled it into a stand-alone .EXE file...
by Aaronm82
Oct 19, 2014 23:52
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

Here's part of my code which makes a popup window with an error message for "file not found." Works fine in QBX. After creating .exe with FBC it doesn't appear. The On Error statement is at the top of my main module: ON ERROR GOTO ehandle .... ehandle: FOR eboxr = 13 TO 17 FOR eboxc = 15 T...
by Aaronm82
Oct 19, 2014 23:46
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

(1) My program runs 100% correct in QBasic PDS 7.1 (or QuickBasic Extended) (2) My .bas file compiles with FreeBASIC, despite the fact my "On Error" subroutine seems to be partially ignored. The compiled program doesn't halt, or crash, it just does "Resume Next" without bothering...
by Aaronm82
Oct 19, 2014 21:45
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

Re: 2 Bugs I found

No, didn't compile with option "-ex."

I should also mention, I meant QBasic PDS 7.1, rather than QBasic 1.1


I didn't know about the "Resume Support" option using "-ex".... I will now re-compile program to see if that solves problem. Thanks.
by Aaronm82
Oct 19, 2014 21:16
Forum: DOS
Topic: 2 Bugs I found
Replies: 21
Views: 3815

2 Bugs I found

When I compiled my QBasic programs using FreeBASIC (-lang qb switch), I found that my error handling subroutine didn't work as it should. Normally if I run my programs from QBasic I'd get a popup window, which I programmed, to appear telling me the ERR number and meaning of error, and then the user ...
by Aaronm82
Oct 07, 2014 16:43
Forum: DOS
Topic: Does the SHELL command still work in XP?
Replies: 9
Views: 2468

Re: Does the SHELL command still work in XP?

Thanks, that's what I needed to know :-)

Thanks everyone for your answers.

Go to advanced search