05-09-2010, 12:49 AM
There is a dll file from my friend,it will connect to server and reconnect if need,so there is a function in it:
StartConnect("serverip",serverport)
it will start a thread when call it,it work well if call it with c++,but I call it with qm,it can't work...
I check the "netstat" and "thread",looks like the connection and thread were killed when finished qm call,
what should I do to handle this case? Thank anyway!
StartConnect("serverip",serverport)
it will start a thread when call it,it work well if call it with c++,but I call it with qm,it can't work...
I check the "netstat" and "thread",looks like the connection and thread were killed when finished qm call,
what should I do to handle this case? Thank anyway!