Loader, mapping and sharing issues with main exe

Alexandre Julliard julliard at winehq.org
Fri Jan 29 03:59:27 CST 2010


Jason Edmeades <jason.edmeades at googlemail.com> writes:

> What I dont understand is why the NtClose for the handle does not
> remove it from the 'open' list - I think from my reading of the
> fd_destroy code it will put it onto the closed list if there are other
> references to the same inode, although thats where my debugging will
> head next.

Loading a dll keeps a reference to the file object, because it needs to
be returned in debug events. Probably it would be possible to reference
the mapping object instead and reopen the file from it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list