PDA

View Full Version : LPT port on windows xp


.Paul Bates
April 17th 03, 04:03 PM
I am haveing trouble controling the LPT port under windows xp. I want to be
able to switch each output on and off usein qbasic, but every time i try it
crashes. any one know of any patches or updates???


Paul Bates

Star Fleet Admiral Q
April 18th 03, 12:32 AM
Paul,
Ain't going to happen - qbasic uses direct access to hardware
components, WinXP (all NT OS's for that matter NT, 2k, XP) do not allow
direct access to hardware, you must access hardware via the WinAPI calls and
let Windows manage the hardware.

".Paul Bates" > wrote in message
...
> I am haveing trouble controling the LPT port under windows xp. I want to
be
> able to switch each output on and off usein qbasic, but every time i try
it
> crashes. any one know of any patches or updates???
>
>
> Paul Bates
>
>
>

Carl Gundel
April 18th 03, 12:39 PM
"Star Fleet Admiral Q" > wrote in message >...
> Paul,
> Ain't going to happen - qbasic uses direct access to hardware
> components, WinXP (all NT OS's for that matter NT, 2k, XP) do not allow
> direct access to hardware, you must access hardware via the WinAPI calls and
> let Windows manage the hardware.
>
> ".Paul Bates" > wrote in message
> ...
> > I am haveing trouble controling the LPT port under windows xp. I want to
> be
> > able to switch each output on and off usein qbasic, but every time i try
> it
> > crashes. any one know of any patches or updates???

You could try to move your program over to a Windows BASIC that
supports port I/O. Our product Liberty BASIC is one such program.
It's inexpensive (starting at $29.95) and has a free trial version.
Check it out at http://www.libertybasic.com

-Carl Gundel, author of Liberty BASIC
"QBasic is for DOS... Liberty BASIC is for Windows!"

Google