http://bugs.winehq.org/show_bug.cgi?id=20711 --- Comment #20 from Henri Verbeet <hverbeet(a)gmail.com> 2010-03-28 15:03:08 --- (In reply to comment #19)
I don't think that GetModuleHandle will work because the library in doubt (dinput8.dll) is not loaded at the moment we issue the request. At the moment I only rely on MS documentation:
... The module must have been loaded by the calling process. ... The GetModuleHandle function returns a handle to a mapped module without incrementing its reference count ...
So how could we access a library without having a single reference?
Do we really need to unload the library if it isn't loaded anymore? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.