notification error

 

recently many terminal cant send the notification, and the error is "failed send request [0] send request failed [12002]"

anyone can help?

 
Terry Chan:

recently many terminal cant send the notification, and the error is "failed send request [0] send request failed [12002]"

anyone can help?

There are rules and limits on how many you can send, you are probably breaking the limits.

try the search 

 
Paul Anscombe:

There are rules and limits on how many you can send, you are probably breaking the limits.

try the search 

Thanks bro!
 

Perhaps you should read the manual.SendNotification: “no more than 2 calls per second and not more than 10 calls per minute.”
   How To Ask Questions The Smart Way. 2004
      How To Interpret Answers.
         RTFM and STFW: How To Tell You've Seriously Screwed Up.

Add a Sleep(6) after the Send… and wrap a mutex around both (for multiple symbols).