CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: parallel port

  1. #1
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    parallel port

    How can i access parallel port in VC++ and/or VB?
    thanks

    Hello World!!!

  2. #2
    Guest

    Re: parallel port

    All below refers to VC++
    You can acess it like any other I/O device like serial port for example.
    You should open port using OpenFile function giving "LPT1" as one of the arguments and then use ReadFile to read data from port.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured