winetest: Fix winetest to cope with com dlls.

This commit is contained in:
Paul Vriens 2009-09-17 11:47:47 +02:00 committed by Alexandre Julliard
parent 6888ea3913
commit 5b600b57c4

View File

@ -589,7 +589,7 @@ static HMODULE load_com_dll(const char *name)
{
LONG size = sizeof(dllname);
if(RegQueryValueA(hkey, NULL, dllname, &size) == ERROR_SUCCESS)
dll = LoadLibraryExA(dllname, NULL, LOAD_LIBRARY_AS_DATAFILE);
dll = LoadLibraryA(dllname);
RegCloseKey(hkey);
}