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

Dmitry Timoshkov dmitry at
Fri Oct 21 09:42:49 CDT 2005

"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.


More information about the wine-devel mailing list