Did you verify that you actually sending data to the remote server every second? Maybe those events never were sent?
>So, I have got everythig working. Thanks to you.
>But here is a problem I am still having. Here is how I am testing solution.
>I have a simple form with a timer that generates a short text (current time) every second.
>On a remote computer I have an object that runs as a com server. That server actually communicates with .net exe via WM_COPYDATA. So, my form sends data to the remote server and the later sends data to .Net. Like I said everything is working.
>But sometimes I am losing data. In .Net I am writing each event to Console. That's how it looks:
>10:10:01
>10:10:02
>10:10:03
>10:10:04
>.....
>10:10:19
>10:10:21
>10:10:22
>
>It goes for a 20-30 secs fine that I see missed event, that it can go fine for another half of a second, and missed data again.
>
>Any idea you might have why that's happening?
>
--sb--