HI
I have a program where I use the following code to login.
Dim objLogin As ACDB.Login
Dim objRuntimeSession As ACDB.RuntimeSession
objLogin = New ACDB.Login()
objLogin.Login("", "")
objLogin.ValidateUser("Module.ABC")
objRuntimeSession = objLogin.RuntimeSession
After the last command, the number of the available licenses is decremented by 1.
But when I terminate my program, it lasts about 40 minutes until the license is available again.
But in VB6 the license is available immediately after terminating the program, when I use the same methods to login.
A special method to logoff does not exist.
I tried to release the objects with Marshal.ReleaseComObject(objLogin) and
Marshal.ReleaseComObject(objRuntimeSession).
The reference counter of the 2 RCWs is then 0, but it doesnt change anything.
Can anyone help me ?
Thanks
I have a program where I use the following code to login.
Dim objLogin As ACDB.Login
Dim objRuntimeSession As ACDB.RuntimeSession
objLogin = New ACDB.Login()
objLogin.Login("", "")
objLogin.ValidateUser("Module.ABC")
objRuntimeSession = objLogin.RuntimeSession
After the last command, the number of the available licenses is decremented by 1.
But when I terminate my program, it lasts about 40 minutes until the license is available again.
But in VB6 the license is available immediately after terminating the program, when I use the same methods to login.
A special method to logoff does not exist.
I tried to release the objects with Marshal.ReleaseComObject(objLogin) and
Marshal.ReleaseComObject(objRuntimeSession).
The reference counter of the 2 RCWs is then 0, but it doesnt change anything.
Can anyone help me ?
Thanks