Shoutbox

Attention 1337 Coders!!! - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Attention 1337 Coders!!! (/showthread.php?tid=37233)

Attention 1337 Coders!!! by Ash_ on 01-20-2005 at 02:12 PM

is it possible to inject my dll into MSN Messenger at runtime, i've been trying it for abit now with no success. i know Plus has to be running before Messenger, so i was wondering if Patchou had problems with this aswell. or if not why he doesent do it this way?

thanks in advance.


RE: Attention 1337 Coders!!! by RaceProUK on 01-21-2005 at 12:15 PM

I may not be a 1337 coder, but I can have a stab as to why Plus has to be running first.

In order for Plus DLLs to intercept certain parts of Messenger's own workings (to apply text formatting for example), the callback address of the event has to be overridden so it points to Plus's version.
This is best done as the program code is loaded into memory. Changing once program execution begins is dangerous, especially in multi-threaded apps, as you can't predict where the instruction pointer is.

Anyway, that's how I understand it.