Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

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
Hi,
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:
screenshot:
https://drive.google.com/open?id=0B2PTdsZrN1wyQ2Q1X0R1V0IyaWs

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?
Thanks.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02