LDAP and Java or C++

30 pts.
Tags:
C++
Java
LDAP
I have a Java app and a C++ app that gathers a list of names from a directory. Sometimes the search could take an hour before it returns a list to iterate through. My question is that once the search begins, the app is going to run until the search is complete and it iterates the result set. What can I do if a user wants to stop the search that is running but it is still searching? I have thought of placing the search in a thread but I would have to kill the thread for outside the thread and that leaves memory leaks. Thanks, Joey

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: