I'm using a memory-mapped file and SendMessage to communicate with mIRC.
I have two questions:
1. In the help file it says that I can send the messages to either the main window, or any of the channel, query, etc windows. If I send the WM_MEVALUATE message to a channel window, is the contens of the mapped file evaluated in the context of the connection that the channel window belongs to?
2. As you know, the $chan identifier has a property called hwnd. If I write $chan(1).hwnd to the mapped file, and send mIRC's main window the WM_MEVALUATE message, as what type should I interpret the value returned? Is it a char*, and if so, how do I convert it to a HWND?
Thanks in advance