Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: Detecting locks programmatically

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0
Fred Smith

Posts: 81
Registered: 12/4/15
Detecting locks programmatically  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 23, 2017 8:46 AM
I have an application which calls a COM library. My application sometimes stops responding.
I checked the task manager and the "Analyze wait chain" & there are locks:

My application freezes till I kill the COM library. The COM library stops responding till I kill my application.
Is it possible to detect these locks programmatically?
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02