GDI/tests: link to {G|S}etRelAbs() during runtime

Saulius Krasuckas saulius2 at
Fri Oct 21 10:00:03 CDT 2005

* On Fri, 21 Oct 2005, Dmitry Timoshkov wrote:
> * "Saulius Krasuckas" <saulius2 at> wrote:
> > 
> > I am sure FreeLibrary() call wasn't necessary, but that might change in 
> > future (if gdi.dll gets linked only during runtime).  Because of this I 
> > didn't want to FreeLibarary() right after last call to GetProcAddress(), 
> > so added it at the end of the test.  Feel free to correct the test. :-)
> Since this is a GDI test it already implicitly links with gdi32.dll. So, 
> there is no need for LoadLibrary/FreeLibrary, GetModuleHandle is enough.

Ok, I tried to optimize things way too prematurely (case when implicit 
linking will be gone).  Will fix this back to GetModuleHandle() soon.

More information about the wine-devel mailing list