mIRC Home    About    Download    Register    News    Help

Print Thread
Cancel $dllcall #179905 30/06/07 04:02 AM
Joined: Apr 2003
Posts: 35
R
RiffRaff Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Apr 2003
Posts: 35
I'm writing a library (which is not thread-safe) for mIRC and I want to be able to cancel calls made with $dllcall.

What is the best strategy? I've added a routine that sends a SIGINT and replaced the handler of this signal so that it sets a global variable that makes some loop break. I'm not very comfortable with this solution, though.

Any suggestions?

Thanks.


Who will trade his karma for my kingdom?
Re: Cancel $dllcall [Re: RiffRaff] #180187 05/07/07 07:04 AM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
nevermind...


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: Cancel $dllcall [Re: Lpfix5] #180194 05/07/07 02:52 PM
Joined: Dec 2002
Posts: 580
N
NaquadaServ Offline
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
nevermind? I'm assuming you are not the original poster using a different username... If your help wasn't helpful, then delete your post.


NaquadaBomb
www.mirc-dll.com