Thread: Controlling the parallel port in C++

  1. #1
    Monkey_Drone
    Guest

    Question Controlling the parallel port in C++

    Hi,
    I was wondering how would you go about directly controlling the parallel port in windows.
    I have no idea of where to start

    I need to be able to write a byte to the port to control a robot

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    use fstream, open the port instead of a text file, and then use the stream writing commands.

  3. #3
    Monkey_Drone
    Guest
    Cool, thx

  4. #4
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    No problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parallel Port IO ops not working properly
    By microtechno in forum Linux Programming
    Replies: 16
    Last Post: 06-08-2009, 12:33 PM
  2. Parallel Port to USB controller and outb()
    By coletek in forum Linux Programming
    Replies: 1
    Last Post: 06-05-2009, 06:57 AM
  3. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  4. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  5. Segmentation Fault - Trying to access parallel port
    By tvsinesperanto in forum C Programming
    Replies: 3
    Last Post: 05-24-2006, 03:28 AM