for (int i = 0; i < dataGridView2.Rows.Count; i++)
{
if ((Boolean)dataGridView2.Rows[i].Cells[0].Value == true)
{
try
{
// c.Command = "SET USER " + dataGridView2.Rows[i].Cells[1].Value.ToString() + " BUDDYSTATUS 2 " + txtMessage.Text + "ISAUTHORIZED TRUE";
c.Command = "SET USER " + dataGridView2.Rows[i].Cells[1].Value.ToString() + " BUDDYSTATUS 2 " + txtMessage.Text;
c.Id = 1000;
c.Blocking = true;
s.SendCommand©;
// User u = s.get_User(dataGridView2.Rows[i].Cells[1].Value.ToString());
// u.BuddyStatus = TBuddyStatus.budPendingAuthorization;
lbLog.Items.Add(dataGridView2.Rows[i].Cells[1].Value.ToString() + " is Added as Contact");
}
catch (Exception ex)
{
lbLog.Items.Add("Could not add "+dataGridView2.Rows[i].Cells[1].Value.ToString()+" due to some unavodable error ! please retry ");
}
}
}
this code is generating stackooverflow exception in C# windows application
i m using skype4com.dll ver 1.0.29 and skype 3.8 but it works well with skype 2.5 can anybody explain this ?
help needed
vish