tolily


My code is as below:.

try
{
CommunicatorAPI.MessengerClass messenger = new CommunicatorAPI.MessengerClass();
if (messenger.MyStatus != MISTATUS.MISTATUS_ONLINE)
{
messenger.AutoSignin();
}
}
catch (OutOfMemoryException ex)
{
Console.WriteLine("Exception Caught.....");
}

When I create a new instance of messengerClass, that means, run the code "CommunicatorAPI.MessengerClass messenger = new CommunicatorAPI.MessengerClass();" OutOfMemory exception occurs.

Why I am eager to know.




Re: Can not use CommunicatorAPI in C#.NET?

tolily


I added the reference by click "Add reference" -> "COM" -> "Microsoft office Communicator API Type Library", I noticed that its source is "communicator.exe", is this the resean




Re: Can not use CommunicatorAPI in C#.NET?

anibaki

Did you get the work around of this problem I am facing the same issue.





Re: Can not use CommunicatorAPI in C#.NET?

tolily

I am sorry but I did not.