Parallel and Serial Interruption RRS feed

  • Question

  • I want to handle a interrup on LPT1 or COM1 port, without threads. i thought this:

    1- In my program i set a interruption and the function that will be called when interrupt occur;

    2- Windows automatically handles the port status and calls the function when interrupted;

    Now, can I make this? How? If i can't, how can i have a interrup on LPT1 or COM1 which calls a function?

    The function is generic, doesn't matter.

    I can't use threads because my program already uses too much threads and another one can blow up the timer of all the system.

    I'm using C++ and Windows 7

    Best Regards, Filipe Isaac Alvarenga e Meireles | Software/Firmware Programmer at GE HealthCare

    Monday, July 22, 2013 1:23 PM


  • Filipe,

    Sorry but you have posted to a forum that deals exclusively with question/issues about customizing and programming Microsoft Project, a planning and scheduling application. I suggest you delete this post and repost to a C++ forum.


    Monday, July 22, 2013 2:31 PM