RE: Parse incoming text
Heh, I'm quite sure you can do this in VB, also. I doubt it has anything to do with anything people have said thus far.
Indeed, what I think could "theoretically" work, is you can look at the export table of RichEditHook.dll or whatever DLL Messenger Plus! uses, and then implement the appropriate function. If my guess is correct, it'll end up calling your function that handles incoming messages, instead of theirs.
In addition, you can launch another thread from your plugin that will constantly probe the conversation text for changes, and when some text arrives, you can figure out what it is by taking a diff -- unfortunately this is the filthiest approach of all.
I am actually trying to think of a better way to do this myself for my plugin, but unfortunately it seems like I won't be able to write any code for this particular cause until the end of the weekend, or maybe the beginning of it, since I'm summoned to write code somewhere else.
Good luck, and keep the noodle a-fryin'.
|