Commit 5b600b57 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

winetest: Fix winetest to cope with com dlls.

parent 6888ea39
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment