IntroductionSome developers today tend to use Skypekit in their applications to make it more interactive with the user. Skype API is very awesome indeed but the problem is it is only available in C++, Java and Python. I can't understand why Microsoft didn't develop API for .NET so we can develop it in C# or VB.NET. I'm one of those, I needed to embed Skype into my graduation project and after I paid the 5$ fees and downloaded the SDK and Runtime I was surprised when I found that there is no support for the .NET languages. So, the only way I found is to convert C++ methods into a COM component then I can call it in C# using DLLImport. And I spent weeks trying to do this solution but all in vain.A punch of errors came to my face when I tried to create a new C++ project away from their pre-made tutorials. I was very sad with this result. I tried to do it in Python but for some reason the socket couldn't make the connection to Skype.Then I found the magic tool IKVM.
BackgroundIKVM is a tool that is used to convert Java Applications to .NET Executables (.exe) and Assemblies (.dll). I used it to convert the Skype Class in their ready-made Java Classes into a .NET 'skypekit' classThen I manually converted all the Java utilities Code to their corresponding C# code including: AppKeyPairMgr Class
Listeners Class
MySession Class
ParseSkypeKitVersion Class
PrintStream Class
SignInMgr Class
XmlStrMgr ClassRead more: Codeproject
QR:
BackgroundIKVM is a tool that is used to convert Java Applications to .NET Executables (.exe) and Assemblies (.dll). I used it to convert the Skype Class in their ready-made Java Classes into a .NET 'skypekit' classThen I manually converted all the Java utilities Code to their corresponding C# code including: AppKeyPairMgr Class
Listeners Class
MySession Class
ParseSkypeKitVersion Class
PrintStream Class
SignInMgr Class
XmlStrMgr ClassRead more: Codeproject
QR:
0 comments:
Post a Comment