Well, it is an LPSTR and I have done an example that will display how many chans/queries/servers are opened and which. My example shows:

c: 6 (#ScriptaZ #PHP-Freaks #CreationCorner #Nomadinc #Darktides #DarktidesNET), q: 1 (vcv), s: 1 (irc.darktides.net)

It's not exactly your goal, but it wouldn't be hard to do .hwnd and just do (HWND) infront of them. This was only an example on how to loop the names etc.

http://www.scriptaz.com/grimz/cpp/conn_loops/conn_loops.cpp (Code)
http://www.scriptaz.com/grimz/cpp/conn_loops/conn_loops.def (Def file)

Last edited by GrimZ; 09/01/03 07:06 AM.