msvcp80: Remove pre-attach handler for a dll with manifest.
Dmitry Timoshkov
dmitry at baikal.ru
Sun May 19 22:12:14 CDT 2013
Manifest prevents loading of a native dll anyway.
---
dlls/msvcp80/msvcp80.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/msvcp80/msvcp80.c b/dlls/msvcp80/msvcp80.c
index 018b204..1d3ee1f 100644
--- a/dlls/msvcp80/msvcp80.c
+++ b/dlls/msvcp80/msvcp80.c
@@ -145,13 +145,11 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
{
switch (reason)
{
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
-
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll);
if(!init_funcs())
return FALSE;
+ break;
}
return TRUE;
}
--
1.8.2.3
More information about the wine-patches
mailing list