I'm trying to code a mirc dll that will be able to determine if a certain script is running on mirc or if mirc has certain sockets open on certain ports. Does anyone know of a way for a dll to see what scripts mirc has loaded or what sockets it has open? I need to code it so its guaranteed to get stuff from the mirc process calling it, and not a clean copy of mirc's directory or anything else.

If anyone has any ideas, please share them.

Thanks,
Andrew