Actually if anyone can answer both, I'd appreciate it. I did mean connection to a server. If the connection no longer exists, how can I check on that before attempting to send/recieve? My original
connection-id will still be filled with the value of 190 (or whatever)?
The other - checking that the ...
Search found 8 matches
- Mon Nov 10, 2003 6:00 pm
- Forum: Coding Questions
- Topic: Net Connection
- Replies: 5
- Views: 1732
- Sun Nov 09, 2003 10:52 pm
- Forum: Coding Questions
- Topic: Net Connection
- Replies: 5
- Views: 1732
Net Connection
Is there a way to check that the current network connection is live? I mean, if you try to send while it isn't it will result in massive problems, right? The ClientID is set during a successful connection, but does it reset itself to 0 if the connection dies? Or does that variable remain the same ...
- Sun Nov 02, 2003 1:23 am
- Forum: Game Programming
- Topic: I need a name for a game...
- Replies: 9
- Views: 3558
- Tue Oct 28, 2003 5:00 pm
- Forum: Coding Questions
- Topic: Mirc
- Replies: 13
- Views: 4575
- Thu Oct 23, 2003 2:03 am
- Forum: Coding Questions
- Topic: I wanna know the undocumented/locked commands
- Replies: 9
- Views: 2883
Re: I wanna know the undocumented/locked commands
NiceThe Programmer's Drinking Song:
"99 little bugs in the code,
99 little bugs.
Fix one bug, recompile
100 little bugs in the code."

I might do a cover version of that one day.
- Tue Oct 21, 2003 7:07 pm
- Forum: Coding Questions
- Topic: sendmessage mirc
- Replies: 2
- Views: 1308
- Tue Oct 21, 2003 2:36 pm
- Forum: Off Topic
- Topic: Hidden adult images
- Replies: 8
- Views: 3777
- Tue Oct 21, 2003 2:13 pm
- Forum: Coding Questions
- Topic: sendmessage mirc
- Replies: 2
- Views: 1308
sendmessage mirc
Im pretty new to this, so this is really all I have:
#WM_MCOMMAND = #WM_USER + 200
OpenFile(0,"d:\mirc.txt")
gah=CreateFileMapping_(UseFile(0),#NULL,#PAGE_READONLY,0,4096,"mIRC")
Debug gah
mHwnd=findwindow_("mIRC",0)
Debug mHwnd
cool=SendMessage_(mHwnd,#WM_MCOMMAND,2,0)
Debug cool
Here is what ...
#WM_MCOMMAND = #WM_USER + 200
OpenFile(0,"d:\mirc.txt")
gah=CreateFileMapping_(UseFile(0),#NULL,#PAGE_READONLY,0,4096,"mIRC")
Debug gah
mHwnd=findwindow_("mIRC",0)
Debug mHwnd
cool=SendMessage_(mHwnd,#WM_MCOMMAND,2,0)
Debug cool
Here is what ...