Interrupt from native code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ole

    #1

    Interrupt from native code

    Not sure what newsgroup this topic belongs to so selected several.

    Is it possible to generate an interrupt from a native dll that can be used
    in C# - and if - then how?

    Thanks
    Ole


  • Guest's Avatar

    #2
    Re: Interrupt from native code

    Use a named system event. On the managed side P/Invoke CreateEvent and wait
    on it.

    OpenNETCF's SDF has an EventWaitHandle object that takes in a string name
    and does the P/Invoking for you, providing the same API interface as the
    full framework, so this would do the same thing.

    Find information, resources and relevant links for opennetcf.org. This domain may be for sale.


    -Chris



    "Ole" <ole@blabla.com wrote in message
    news:%23GsHFsvu GHA.4460@TK2MSF TNGP04.phx.gbl. ..
    Not sure what newsgroup this topic belongs to so selected several.
    >
    Is it possible to generate an interrupt from a native dll that can be used
    in C# - and if - then how?
    >
    Thanks
    Ole
    >

    Comment

    Working...