Added from comment .

The application involved a non-visual Active X component - RasDial.ocx. I use it to control the network connection. He has one event - Status. It does not occur when an error (status change). The handler had to do it through a timer, reading from the RasStatus. I do not want to "hammer" all the time with a timer ..

  • The question is not clear, give the code. - Nicolas Chabanovsky
  • I did not understand your question already. Moved to the question. - Oleg53
  • Of course, you can intercept the WM_RASDIALEVENT message, but then the component will only eliminate the filling of structures in the WIN API - Oleg53

0