Maarten Lankhorst <[EMAIL PROTECTED]> 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.
--
Dmitry Timoshkov schreef:
> "Maarten Lankhorst" <[EMAIL PROTECTED]> wrote:
>
>> Seems native directsound keeps itself loaded by calling LoadLibrary when
>> attaching. A simple testcase I wrote confirms that at least for xp, by
>> not crashing.
>
> After seeing this, I decided to write my own test,
"Maarten Lankhorst" <[EMAIL PROTECTED]> wrote:
Seems native directsound keeps itself loaded by calling LoadLibrary when
attaching. A simple testcase I wrote confirms that at least for xp, by
not crashing.
After seeing this, I decided to write my own test, and can confirm now that this
patch lo