|Data|| = ||"",|
|Port|| = ||100,|
|DataSize|| = ||""||)|
Send the message to another process (receiver).
|Hwnd||Handle of the receiver.|
|Data||Data to be sent, by default empty. Optional.|
|Port||Port, by default 100. Positive integer. Optional.|
|DataSize||If this parameter is used, Data contains pointer to the buffer holding binary data. Omit this parameter to send textual messages to the receiver.|
The data being passed must not contain pointers or other references to objects not accessible to the script receiving the data. While this message is being sent, the referenced data must not be changed by another thread of the sending process. The receiving script should consider the data read-only. The receiving script should not free the memory referenced by Data parameter. If the receiving script must access the data after function returns, it must copy the data into a local buffer.
This function uses Gui +Lastfound to obtain the handle of the sender.
Returns TRUE if message was or FALSE if sending failed. Error message is returned on invalid usage.