[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: dsound: Disable thread calls and increase refcount in dllmain
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2007-08-30 14:10:14
Message-ID: 87veaxm7uh.fsf () wine ! dyndns ! org
[Download RAW message or body]

Maarten Lankhorst <m.b.lankhorst@gmail.com> writes:

> I want to be able to rename the dll without having to worry about that
> line. That's why I'm getting the full file name. Easier to run tests
> that way.

You should use GetModuleHandleEx to increment the refcount directly
from the module handle.

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic