Board index » delphi » HELP!! Parallel port under NT4

HELP!! Parallel port under NT4

Hi,
  I'm working on a project that communicates with the parallel port on
Win32 platform.
I want to use Delphi to do this. I've heard that NT does not allow direct
access to parallel ports unless you have a kernel-mode driver. Does anyone
have source code for a dll/vxd/sys file to communicate with devices on
parallel port under NT4 ????

ANY HELP WOULD BE MOST APPRECIATED !! Please also mail to:
        gs...@doc.ic.ac.uk...

Thanks in advance ..

-------------------------------------
Gurpal S. Bhachu
Information Systems Eng. Yr 1
Department of Computing
Imperial College
180 Queen's Gate
London SW7

 

Re:HELP!! Parallel port under NT4


I don't

BUT you might wanna use CreateFile('LPT1',....) to gain access to the lpt

Roel

Quote
G. Singh <gurm...@g-singh.u-net.com> wrote:

: Hi,
:   I'm working on a project that communicates with the parallel port on
: Win32 platform.
: I want to use Delphi to do this. I've heard that NT does not allow direct
: access to parallel ports unless you have a kernel-mode driver. Does anyone
: have source code for a dll/vxd/sys file to communicate with devices on
: parallel port under NT4 ????

: ANY HELP WOULD BE MOST APPRECIATED !! Please also mail to:
:       gs...@doc.ic.ac.uk...

: Thanks in advance ..

: -------------------------------------
: Gurpal S. Bhachu
: Information Systems Eng. Yr 1
: Department of Computing
: Imperial College
: 180 Queen's Gate
: London SW7

Other Threads