QUOTE(awahlig @ Mon Sep 10 2007, 19:53) [snapback]439897[/snapback]
First of all, look at your code, you're using "return 1" in a function that has "void" as its return type. That's obviously wrong.
However, the real reason why it doesn't work for you is that you're not suppose to use "return" here (the "void" is ok). Use this instead:
CODE
msg.Result = 1;
This was discussed not long ago in this thread:
http://forum.skype.com/index.php?showtopic=95554Sorry, it's my wrong with the post.
In my code, it's writed in msg.Result =1;, not return 1;
And, it still dosen't work. without the MessageBox(...);
QUOTE(TheUberOverlord @ Mon Sep 10 2007, 20:01) [snapback]439903[/snapback]
Well, it is also important to note that with the messagebox prompt, no matter what the value is, a timeout would be created using the default timeout, unless of course you answered the messagebox prompt in less that a second, with the current example code.
So... you mean the MessageBox() answer the Skype response.
If I don't call the MessageBox() , it would timeout. And Skype will disconnect?