[comctl32/tests #3] Use GetModuleHandleA instead of LoadLibraryA
paul.vriens.wine at gmail.com
Mon Mar 10 04:41:24 CDT 2008
Mikołaj Zalewski wrote:
>> If LoadLibrary is indeed needed it should be accompanied with a
>> FreeLibrary and we probably need a comment for the why as well.
> Does it matter if we call FreeLibrary on the library we are testing? I
> don't think we will be able to free it before the end of the tests when
> anyhow it will be unloaded by the process shutdown. But maybe I should
> care more about elegant code?
> Mikolaj Zalewski
Yeah, I wrote 'should' but it has more to do with style I guess. The same is
true for HeapFree of course but I do think we should make the code as
good/correct as possible.
More information about the wine-devel