I just tested that code Watchdog gave you using mIRC 6.15 and it should work. You don't by chance have a firewall running that may be preventing mIRC from accessing the internet do you? Just a thought. I don't know how to make dll's so I couldnt tell ya how they get made sorry.