receiving an API message

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

    #1

    receiving an API message

    I need to detect when an API call has been made from another application in
    another window and to react to the event. How do I detect such an event.

    I have lots of code making calls to other programs, but how do I detect when
    calls have been made from another app. Any help or preferably sample on this
    subject would be greatly appreciated. I'm using vb.net 2003.

    thanx in advance

    Robert
  • Phill W.

    #2
    Re: receiving an API message

    Robert Smith wrote:[color=blue]
    > I need to detect when an API call has been made from another application in
    > another window and to react to the event.[/color]

    Define "API call .. from another application".
    [color=blue]
    > I have lots of code making calls to other programs, but how do I detect when
    > calls have been made from another app.[/color]

    That depends on /how/ the other application is calling yours.

    If you've exposed methods and properties from your classes, then those
    properties and methods are the place to put code.

    If you're thinking of catching Windows Messages here, look at the Form's
    WndProc method.

    HTH,
    Phill W.

    Comment

    Working...