i hope i'm asking the right questions here, i'm not sure exactly how this dll did what it did so i'll do my best to explain what i need help with.

a long time ago i used a dll called mOTFv which was a dll capable of attaching to mirc's existing sockets connecting it to a server, and intercept a ctcp version request and send out its own reply bypassing mirc's own processing of the request.

what i'm hoping to do is something similar to mOTFv, except not to change a ctcp version reply, but to do some heavy processing of server notices before mirc gets ahold of them, because at times my script just has too much overhead using mircscript.

what i'd like to do is write a dll that hooks an existing mirc server connection the way mOTFv did and then have the gruntwork happen within the dll (these would be oper functions for the server i help admin) and just have a basic mirc script that communicates with the dll to configure it on what to do and when to do it.

what i need help with is in the way mOTFv was able to hook into mirc's server sockets and basically act as a transparent (to mirc) proxy between mirc and the server. has anyone got any idea how this was done? i have an older version of mOTFv's sourcecode, but it doesn't include core.cpp which i believe is what contains the code that did the actual socket interception and function hooking. and most of the sites that used to have the more advanced mirc stuff seem to no longer exist, like dragonzap's dlls and danielson's (who originally authored mOTFv) site etc. i'm running into dead end after dead end and i don't know where to go from here.

does anyone on this forum have any idea how to accomplish this? i'm new to c++ and dll programming, but i can figure that stuff out on my own, it's the hooking and socket grabbing that i don't have a clue how to do, and i've been researching it for the past couple of weeks with basically no luck.

ANY help would be appreciated! thanks in advance guys and gals.

P.S. links to tutorials or other useful information relevant to this question will also be appreciated. smile

--
baby_bird on chatcircuit.com