I am a new ASMer come from Delphier.

In writing an little program to commnicate between Computer and PDA,there were some problerm that I can't dispose it.

1.How to get Parallel Port Address in windows(First time I want seek in HKEY_LOCAL_MACHINE but can't fround.I think there Must have an API).

2.IN WinXP I setted the LPT1 "never use any INT" and some other application can link to my PDA,I want to know in WinXP ,MOV the data to Parallel address immediate whether can Let Parallel port rcv and send the data?
Some application use this methods Hang in WinXP.....
I think I can use Direct X to control parallel but I can't find any useful info from google..

I'll appreciate any one can help me~~
Posted on 2002-06-11 18:08:33 by Const.Ex

I also hate using dlls that are 10 times bigger than my program that uses it but I used it because I wanted to use the parallel port directly. I created a small circuit that could program a microcontroller. Because the circuit was just a simple interface without any other logic, I couldn't use the default methods of accessing parallel ports, so I needed direct port access. As I use win2k, ins and outs weren't an option.

the post appear when I search the forum with 8 difference keywords.....
Hey Thomas,I think you can give me some info about the API of parallel port....
Posted on 2002-06-12 04:35:10 by Const.Ex
I can't visit your site
so please give some info at this board okay.....

thanks again....


While trying to retrieve the URL: http://exagone.cjb.net/

The following error was encountered:

Connection Failed
The system returned:

(110) Connection timed out
The remote host or network may be down. Please try the request again.
Posted on 2002-06-12 04:50:52 by Const.Ex
The link is working again but actually it's an old one. My new address is www.MadWizard.org, the cjb one is just a redirection to keep old links working.

WinIo (www.internals.com) contains a device driver to let you use port I/O safely in win9x and NT/2K/XP. IIRC, when the driver is running on NT/2k/XP, you can even use the in and out opcodes directly, as the driver handles them safely.
Previous versions needed a special lib for use with masm (which I made, see AsmIO on my site). But the current version works with just the prototypes and the C library version of winIO.

You can find the prototypes here:


Posted on 2002-06-12 10:26:18 by Thomas
The WinIO is such suited for our programmer.............
thx again~~~~~:alright:
Posted on 2002-06-12 17:54:40 by Const.Ex