Donc, il y a un programme que j'ai vu, codé en C#. Je continue d'avoir des erreurs dessus. System.IndexOutOfRangeException est le principal, son passe à "args [0]". C'est le code:API Skype System.IndexOutOfRangeException C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Skype4COMUserProfile
{
class Program
{
private static SKYPE4COMLib.Skype skype = new SKYPE4COMLib.Skype();
[STAThread]
static void Main(string[] args)
{
if (!skype.Client.IsRunning)
{
Environment.Exit(1);
}
skype.Client.OpenUserInfoDialog(args[0]);
}
}
}
Je serai très reconnaissant si quelqu'un pouvait me dire comment résoudre ce problème. Merci d'avance!
On dirait que args est vide. – alex