"Eric Pouech" <[EMAIL PROTECTED]> wrote:

> > So, it looks like somewhere in FindClose Wine is resetting the last 
> > error.  I started digging through there and the functions it calls but I 
> > was unable to find where it was getting reset.  Can anyone shed some 
> > light on this?  Is there any way to break on that value changing?
> GlobalUnlock does set last error to 0 if it's unlocking the last lock.

A way to go might be to use HeapAlloc instead of GlobalAlloc and add
a critical section to the allocated data structure to protect the object.

Alex, are you willing to do the job?

-- 
Dmitry.



Reply via email to