Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
hello expert!
I'm coding for a project relating to integration skype (chat, voice, video). I searched and found a API supporting this (Skype4comlib.dll). But logging in, chatting, calling voice, calling video must have the participation of client skype. This make me so much troubles.
If anyone knew or practiced this, please help me. thank so much!
------------------------------------
this is my current loggin code:
C#
void InitSkype(string userName, string pass)
{
   System.Diagnostics.Process process = new System.Diagnostics.Process();
   System.Diagnostics.ProcessStartInfo startInfo = new                    System.Diagnostics.ProcessStartInfo();
            startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Minimized;
            startInfo.FileName = "Skype.exe";
            startInfo.Arguments = "/C /username:" + userName + " /password:" + pass;
            process.StartInfo = startInfo;
            process.Start();
        }
Posted
Updated 26-Oct-14 11:29am
v2
Comments
Richard MacCutchan 24-Oct-14 7:39am    
Your code is not using the Skype API.
Sinisa Hajnal 24-Oct-14 8:31am    
You're just starting Skype program. This isn't "using API"
alex giulio 24-Oct-14 9:47am    
by this way i started and logged in client skype with specified username and password. once i logged in successfully i can use skype api(skype4com) to get data. But it made me much troubles(ex: show forms of client skype after i click "call skype", "call video" buttons). i need other ways in order to log in skype account and get data but do not need really intervention of client skype

ex: code for call skype:
private Call placeCall(string user)
{
return skypeViewModel.Skype.PlaceCall(user);
}

Call currCall;
public void MakeAVoiceCall(string user)
{
currCall = placeCall(user);
}

private void btnCall_Click(object sender, RoutedEventArgs e)
{
skypeViewModel.Skype.CallStatus += new _ISkypeEvents_CallStatusEventHandler(skype_CallStatus);
MakeAVoiceCall(skypeViewModel.SelectedFriend.Handle);
}
ZurdoDev 24-Oct-14 10:10am    
I would suggest looking at skype's developer site.
alex giulio 29-Oct-14 5:57am    
thank RyanDev!

1 solution

Start here: Skype Development[^]
 
Share this answer
 
Comments
Peter Leow 26-Oct-14 22:59pm    
5ed!
Maciej Los 27-Oct-14 2:45am    
Thank you, Peter ;)
alex giulio 29-Oct-14 5:47am    
thanks Maciej Los so muck, but it couldn't solve my problems. I still can not figure out how to solve it. maybe I will solve the problem in the old way.
alex giulio 29-Oct-14 6:04am    
I now have a difficulty in changing a user password, how to change user password using Skype4Com. I found it in most of the Skype4Com dll but still have not found. If who experienced it, please help me, thank you so much!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900