"Bibo" <Bibo@discussions.microsoft.com> schrieb im Newsbeitrag
news:2B1A9A25-F434-4EE1-8C1B-3B91E33F17FB@microsoft.com...
I have a moveable allocated Memory object, I lock the Memory object but
when
I try to unlock, I couldn't although the lock count is decremented but
the
globaunlock returns zero, and when I try to find out this error using
the
GetLastError, the code is NO_ERROR "0" .. Can anybody help me to know
why
this happens
Read the manual, and read it completly:
"If the memory object is still locked after decrementing the lock count,
the
return value is a nonzero value.
If the function fails, the return value is zero. To get extended error
information, call GetLastError. If GetLastError returns NO_ERROR, the
memory
object is unlocked."
Heinz