HELP HELP HELP

HELP HELP HELP

Post by Wagne » Tue, 13 Aug 2002 11:23:57



How can I make a simple DOS EXE application, be able to read
I/O port 379h in WindowsXP ?

As simple as

    MOV   DX,0379h
    IN    AL,DX

(The 379h is whatever would be the next address of the
actual parallel port address)

It doesn't work in XP.  It seems that XP is blocking this
address access.
Its being working for years now in DOS/95/98/ME without any
problem.
XP and 2000 is just trying to put me out of business.
Is there any solution to run this DOS application in XP?

Thank you for saving my kids bread by helping me.
Wagner.

 
 
 

HELP HELP HELP

Post by Care » Tue, 13 Aug 2002 11:41:33


What programs can XP really run?
http://www.cnet.com/software/0-6688749-8-7004399-8.html

--
Carey Frisch
U.S.A.

 
 
 

HELP HELP HELP

Post by Bob » Wed, 14 Aug 2002 00:57:18



>How can I make a simple DOS EXE application, be able to read
>I/O port 379h in WindowsXP ?

>As simple as

>    MOV   DX,0379h
>    IN    AL,DX

>(The 379h is whatever would be the next address of the
>actual parallel port address)

>It doesn't work in XP.  It seems that XP is blocking this
>address access.
>Its being working for years now in DOS/95/98/ME without any
>problem.
>XP and 2000 is just trying to put me out of business.
>Is there any solution to run this DOS application in XP?

>Thank you for saving my kids bread by helping me.
>Wagner.

Welcome to the new world of Windows programming.  Surely if you
understand writing directly to hardware, you will understand why this
is not something you want to let your operating system do.  The
operating system must be the arbitrator of all applications that want
to access hardware.  Letting you directly address hardware with your
program would be the first hole in the* that would eventually
bring the whole system down.

If you need to write to a printer, you have two choices, one is to use
the Windows API for printing.  If the API does not give you the
control that you need, then your second choice would be to write a
compliant device driver for the printer that accomplishes what you
need.

I just realized that I made a big assumption that may not be true.
You asked about the Parallel port but did not mention printers.  I
guess your application could have to do with some of the other devices
that have used the parallel port over the years such as inexpensive
scanners, and the ever so loved copy protection devices.  If your
needs are more along these lines and not printer related, I suspect
that you are going to have to investigate Microsoft's Driver
Development Kit.

Bob T.

 
 
 

1. HELP!HELP!HELP!HELP!HELP!HELP!HELP!HELP!HELP!HELP!HELP!HELP!

I am running a 3.51 NT server which runs a domain on a LAN. Before it was
running as a domain server, it was working as a workgroup server and I got the
FTP server to work perfectly well. I later changed to a domain server, and I
just can't get the ftp server to work, even after re-installing the ftp
service. The users can connect to the server, but when after trying to login
via anonymous login,  the message : user "e-mail address" cannot login to the
server.

This also happens to valid users on the server. What could I be doing wrong,
could somebody kindly help me???

Moses M. Otyek
Systems Engineer
InfoMail (Uganda) Ltd.
http://www.imul.com
Tel:256-41-258361
Fax:256-41-236256
** INFOMAIL - THE GATEWAY TO UGANDA **

2. Problem involving File Type menu

3. Help Help Help Help Help Help Help Please

4. Explorer Windows forget settings !! ??

5. HELP HELP HELP HELP HELP HELP!!!!!!!!!!!

6. Copying Access database to Pocket PC

7. HELP HELP HELP HELP HELP HELP PLEASE

8. Deploying IE6 with IEAK

9. help help help help

10. HELP HELP HELP HELP

11. CAN'T VIEW MPEG THUMBNAILS HELP HELP HELP HELP

12. Help, help, help, help!!!