Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Using HP Quality Center 10. I Connect and Disconnect the QC through API and also do some my job in between. I call different API of QC 10.I use Windows Service to call the API frequently(In 1 min gap). But after Some time the Logout API will not return and my application is hang. If any one do have any idea regarding this please reply my Question.

Thanks in advance..
Posted

1 solution

Did you, by any chance, ask the manufacturer of the API? I bet they'll give you an answer.

My guess is that you're not calling this api from a separate thread (or if you are, the API isn't thread-safe), and when you come around again to fire off the API call, it's still busy, and therefore will crash your service. Try putting a try/catch block around the api call and see wht it tells you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900