Examples: Using Skype™ to Send Messages from an Expert Advisor

 

New article Using Skype™ to Send Messages from an Expert Advisor has been published:

The article deals with the ways of how to send internal messages and SMSes from an Expert Advisor to mobile phones using Skype.

Author: Alexey Koshevoy

 

good tutorial. one correction:

// Include Skype4COM.dll, preliminarily downloaded
// from the Skype developers website – http://developers.skype.com/

URL is http://developer.skype.com/ not http://developers.skype.com/

 

Hi Alexey Koshevoy

I found this skype DLL is quite useful, but I have problem to send message/ SMS, everytime the EA calls "SendSkypeMessage(int &ExCode[], string Num,string Message) ", the process will stuck there forever. I had copied the SkypeLib.dll and Skype4COM.dll to the Expert/libraries/ folder, what other files I need ? Also, the Manage API Access Control Message Box never pop up and I can't registered the process as well. Is there anything to deal with OS anf Skype Version, I m using Windows Vista and Skype 3.8.0.144.

Last, do you have a DLL which allows EA to read Skype message .

Thanks

Tom

 
Hello, Can I just launch the macrofile from EA without using dll? I just want a blank sms or a phone call without additional info. How can that be done?
 
Can I launch the macrofile using the FileOpen function without using dll?
 

This does not seems to work on Skype 4. Any suggestions?

 
That's well.
 

Sorry to review old topic.

It works well for me with SMS and message

I would like to make a CALL from Skype Nick to Skype Nick or from Skype Nick to Mobile.

Could you please help me the code?

Thank you very much.

 

Hello,

 

I try this SendSkypeMessage(ExCode, "maxpro.vn", "Test message");

It sent only a letter "T" to user "m". It seems that EA takes only the first letter of a string.

Anyone knows about this problem? Thanks! 

 
These Code modifications will transfer the whole string to the dll:
bool SendSkypeMessage(int &ExCode[], uchar &user_name[] ,uchar &message[]); void subSendSkype() {    int ExCode[1];    string DBusername = "username";    string DBmessage = "testmessage";    uchar user_name[];    uchar message[];    StringToCharArray(DBusername,user_name);    StringToCharArray(DBmessage,message);          Alert("Sende Skype Message...");    Alert(SendSkypeMessage(ExCode,user_name,message));    if (ExCode[0]==-1)       Alert("Skypemessage nicht erfolgreich");    else       Alert("Skypemessage erfolgreich");    //return(0); }

 
Works great! With the latest skype version you dont need to dowload any extra files, just ea and dll from the author. But you need to transform string to char array 100%. But what is disappointing is that it only sends text messages and fails for sms :(( maybe any thoughts?