Parallel Port

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ibrahim Hammad

    #1

    Parallel Port

    Is there any method to access the computer ports(eg.
    parellel port) throw C#.
  • Andrew Gnenny

    #2
    Re: Parallel Port

    Hi,
    You could use the following approach:
    1. Use Win32 CreateFile function to port device (for example \\.\LPT1 is a
    name of 1st parallel port)
    2. Create System.IO.FileS tream object using device handle returned by
    CreateFile
    --
    Andrew Gnenny
    X-Unity Test Studio

    Bring the power of unit testing to VS .NET IDE


    "Ibrahim Hammad" <eng_iyhammad@h otmail.com> wrote in message
    news:12cb01c38c 5c$5fd8cef0$a00 1280a@phx.gbl.. .[color=blue]
    > Is there any method to access the computer ports(eg.
    > parellel port) throw C#.[/color]


    Comment

    Working...