Results 1 to 2 of 2

Thread: Interrupts w/Bi-Directional Parallel Port

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    4

    Question

    Hello,

    I am writing a program for a Win98 target that needs to use the parallel port as an interrupt driven bi-directional device.

    What I know is how to initialize the port using CreateFile, how to use ReadFile to read a stream of data and how to close the port.

    If I want to write an Interrupt service routine to do "handshaking" of each byte, how do I get Win32 to notify me that an interrupt has occured?

    Question: Specifically, what triggers a Win32 notification that data has arrived at the parallel port?

    Any help is appreciated.

    Bob

  2. #2
    Lively Member
    Join Date
    Aug 2000
    Location
    quebec
    Posts
    81

    Arrow

    Might be tough to get an real answer to this but you might check http://msdn.microsoft.com/library/ps...lesio_071v.htm and

    http://msdn.microsoft.com/library/ps...devio_9quk.htm

    and

    http://msdn.microsoft.com/library/ps...ceman_9vhh.htm


    I'm not sure this stuff does what you want but click the sync to toc button and look around...

    good luck

    C/C++,Delphi,VB6,Java,PB (blech!),ASP,JSP,SQL...bla bla bla and bla
    I love deadlines. I like the whooshing sound they make as they fly by.
    —Douglas Adams

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