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.