-=> Quoting Tim Hutzler to Arnie Sossner <=-
-=>Quoting Arnie Sossner to All <=-
AS>Does any one know of any thing special that a PowerBASIC
AS>programmer must know to write programs that run in Windows 95?
TH> I'm sure someone can write a book on that one, but I have found that
TH> Win95 and PB32 get along fairly well. I've only seen one PB program
TH> conststently hang Win95 so bad that a full hardware reset was needed.
TH> That one had to do with using the COM port.
The day after posting my message, I started to do maintenance on a
PowerBasic program I wrote about 10 years ago in TurboBasic. (I've gone
through each level of TB and PB during those ten years.)
Every time I get another modem, I've had a challenge to rewrite my
program to accommodate the newer technology of the faster modem. I now
have the USRobotics 33.6 Fax/Voice/Data modem running on COM2. The OS is
Windows 95.
- Most the old and new Windows programs find and run the modem on COM2.
- Some of the old DOS programs find and run the modem on COM2. Here are
the DOS programs that don't find the modem:
- FaxWorks Setup program Modem Diagnostic (other parts of FaxWorks,
- a Windows program, do find the modem)
- Modem Doctor
- QBasic
- PowerBasic
When I run QBasic or PowerBasic, the OPEN statement (regardless of how
simply I write it), returns error 68: Device unavailable. "You tried to
OPEN a device file on a machine without that device; for example, COM1
on a system without a serial adapter or modem."
I've got to stress that the programs still run on my laptop and all
other programs (even Managing Your Money for DOS) runs on the Win95
desktop. My COM2 uses the standard IRQ of 2 and address of 2F8.
What must I do within Basic or Win95 to make the OPEN work?
... Polaroids: What polar bears get from sitting on icebergs.
--- Blue Wave/Max v2.12 [NR]
---------------
* Origin: Druid's Grove BBS -- 914-876-2237 (1:2624/306)
|