Help - Search - Members - Calendar
Full Version: A possible bug in Skype 3.2.0.158
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
kuan
I am using Skype 3.2.0.158 and trying to attach my app to Skype. If I choose to refuse the connection of my app in advance (Goto Tools->Options->Advance->Manage Other Programs' access)and I use Attach(7, VARIANT_TRUE) to attach my app to Skype, Skype will crash my app. The Com Error returned from Attach function is that "An invalid field name was used in a query string". But as long as i change the second parameter from VARIANT_TRUE to VARIANT_FALSE. The whole application works again.

--------------------------------------------------------------------------------
Previous Thread:

Hi list,

The Attach(long protocol, VARIANT_BOOL wait) function in ISkype interface is acting very weird today. I always set the version number as 7 and the wait value as VARIANT_TRUE. It never causes any problem.

But today when I am trying to attach my application to Skype, my application crashes. The Com Error returned from Attach function is that "An invalid field name was used in a query string". But as long as i change the second parameter to VARIANT_TRUE. The whole application works again.


Any idea? Could anyone explain? THanks. I am using the latest Skype and Skype4COM API.

TheUberOverlord
QUOTE(kuan @ Thu May 24 2007, 17:55) [snapback]399081[/snapback]

Hi list,

The Attach(long protocol, VARIANT_BOOL wait) function in ISkype interface is acting very weird today. I always set the version number as 7 and the wait value as VARIANT_TRUE. It never causes any problem.

But today when I am trying to attach my application to Skype, my application crashes. The Com Error returned from Attach function is that "An invalid field name was used in a query string". But as long as i change the second parameter to VARIANT_TRUE. The whole application works again.
Any idea? Could anyone explain? THanks. I am using the latest Skype and Skype4COM API.


I am lost....you say "I always set the version number as 7 and the wait value as VARIANT_TRUE. It never causes any problem."

But then you say.... "But today when I am trying to attach my application to Skype, my application crashes. The Com Error returned from Attach function is that "An invalid field name was used in a query string". But as long as i change the second parameter to VARIANT_TRUE. The whole application works again."

Are you saying that it fails when you set wait to false?
kuan
QUOTE(TheUberOverlord @ Fri May 25 2007, 20:45) [snapback]399406[/snapback]

I am lost....you say "I always set the version number as 7 and the wait value as VARIANT_TRUE. It never causes any problem."

But then you say.... "But today when I am trying to attach my application to Skype, my application crashes. The Com Error returned from Attach function is that "An invalid field name was used in a query string". But as long as i change the second parameter to VARIANT_TRUE. The whole application works again."

Are you saying that it fails when you set wait to false?


Sorry, I mean setting wait to false. Do you have any idea?
kuan
QUOTE(kuan @ Fri May 25 2007, 22:49) [snapback]399437[/snapback]

Sorry, I mean setting wait to false. Do you have any idea?


Just updated the thread. Please refer to the first post of this thread
kuankuan
QUOTE(kuan @ Mon Jun 11 2007, 21:13) [snapback]405107[/snapback]

Just updated the thread. Please refer to the first post of this thread


Telling me that I am wrong is better than no answer. Did any skype expert try that?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.