There is an important difference between ApplWrite() and EvntExec() even if the result seen the same. When you send a message with ApplWrite(), we give the control to AES before to execute the message. With EvntExec(), events are executed directly. Some actions, as closing a window for example, can confuses AES if they are executed directly. Each time is possible, prefer ApplWrite() rather than EvntExec(). Give the control to AES increases the multasking performance.