ELCK Error code
ELCK indicates that the requested operation could not be performed because of an existing lock by another process accessing the same interface. ELCK is also returned when a process attempts to unlock an interface for which it currently has no lock.
Solutions
Call iblck to lock the interface. If iblck continues to return ELCK, lengthen the LockWaitTime and wait for the other process to relinquish its interface lock.
Ensure that you have successfully locked the interface prior to unlocking it.
Return to list of error codes |