I am working in .NET 2005 c++ using Skype4Com.dll file version 1.0.27.1. I am facing some problems regarding registering of events for Skype.
1. I have registered attachment and mute events. I am able to get attachment status but not mute status from Skype.
Please find Code Snippet below:
===============================================================================
main()
{
SKYPE4COMLib::SkypeClass ^m_hSkypeClass;
m_hSkypeClass->_ISkypeEvents_Event_AttachmentStatus += gcnew
_ISkypeEvents_AttachmentStatusEventHandler(&attachmentStatus);
m_hSkypeClass->_ISkypeEvents_Event_Mute += gcnew
_ISkypeEvents_MuteEventHandler(&muteInfo);
}
void muteInfo(bool f_sStatus)
{
MessageBox::Show(“In Mute status”);
}
void attachmentStatus(TAttachmentStatus f_eAttachmentStatus)
{
MessageBox::Show(“In attachment status status”);
}
===============================================================================
Am I am doing something wrong?
2. Also, I would like to get the event when user changes and save the Audio Input and Audio Output settings from Skype using menu
(Tool->Options->Sound Devices (Audio In and Audio Out)). I am not able to find out which event to register and how that event will be used to detect change in Audio In and Audio Out settings.
Please help me. Code Snippet will be more helpful. Thanks in advanced.
Warm Regards,
Ankit.