I use Groupwise Object API from VB.NET. I have problem with creating
instance of GroupwareTypeLibrary.Application5.
I have a class which create instance of GroupwareTypeLibrary.Application5
and calls MultiLogin method. Instance of my class is created by Windows
Service, then it is called method which do communication with GroupWise.
This Windows Service do that in every 5 minutes. The first few times
everything is ok but later my application gets hanging when I call
m_objApplication = New GroupwareTypeLibrary.Application5()
I also tried to create it in this way:
m_objApplication = CreateObject("NovellGroupWareSession")

Because my class is used from Windows Service I use /ntservice MultiLogin

I also add Dispose method to my class and I allways call this method in
finally block. Below you can find how I release com objects:
If Not Me.m_objAccount Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComO bject(Me.m_objAccount)
End If

If Not Me.m_objApplication Is Nothing Then

System.Runtime.InteropServices.Marshal.ReleaseComO bject(Me.m_objApplication)
End If

But i still have this problem.
Do you know what can be a problem?
I hope that somebody also had this error and know the solution.

Thanks in advance