none
console application interrupt another console app. RRS feed

  • Question

  • Is there any way to get a console application to interrupt another one, say every two hundred milliseconds, in assembly language? It just has to let the interrupted program know that is has timed out. Has to be in assembly. Where can I look? I see lots of stuff in C++ and C# (whatever that is). It doesn't help.
    Tuesday, December 4, 2018 7:58 AM

All replies

  • One application can create a named event using CreateEvent. Then set it using SetEvent.

    Another application can open the event using CreateEvent or OpenEvent, then check periodically or wait for the event using WaitForSingleObject.

    What other approaches did you consider in C++ and C#?


    Tuesday, December 4, 2018 12:07 PM
  • Hi OLIVER SCANTLEBERRY,

    Any update for your question?

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, December 13, 2018 7:40 AM
    Moderator