Thread: Writing to parallel port in Win NT

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    12

    Question Writing to parallel port in Win NT

    I am using VC++ versions 5 and 6. I want to write to the parallel port of a PC.
    Although I can achieve this successfully in Win 95 and Win 98 using the function _outp(), I get an application error in Win NT.
    Any ideas what I can do to solve this?
    Many thanks
    Bazzz

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Look up CreateFile()...this should be aple to latch onto "LPT1" or whatever...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 02-29-2008, 01:29 PM
  2. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  3. accessing my com port, writing and reading data
    By shoobsie in forum C Programming
    Replies: 7
    Last Post: 09-16-2005, 03:29 PM
  4. help with this
    By tyrantil in forum C Programming
    Replies: 18
    Last Post: 01-30-2005, 04:53 PM
  5. Using CreateFile() in Win NT
    By Bazzz in forum Windows Programming
    Replies: 1
    Last Post: 09-17-2002, 12:41 AM