Skip to Content
0
Former Member
Dec 06, 2006 at 04:17 PM

Connecting DI API with wrong user name or password

210 Views

I have an addon connecting to DI API by user login. If user types wrong username or password, the Company.Connect() runs endlessly. However I try to stop this process, I have no chance to do so.

I tried by starting the Company.Connect() in a separate thread, but I cannot shut down this thread, because this thread is endlessly trying to connect to DI API.

Even through using a timer I have no chance to cancel Company.Connect() after a defined period.

Anybody got an idea to solve this problem?

Thanx and best regards,

Ralph