receiving an API message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Robert said:
I need to detect when an API call has been made from another application in
another window and to react to the event.

Define "API call .. from another application".
I have lots of code making calls to other programs, but how do I detect when
calls have been made from another app.

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.
 
Back
Top