You can't do it using _inp and _outp, or even in assembler. Windows won't let you. You'll have to use the Windows functions for accessing parallel ports - look at CreateFile().
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"