summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr/src/main.cpp')
-rw-r--r--plugins/AssocMgr/src/main.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/AssocMgr/src/main.cpp b/plugins/AssocMgr/src/main.cpp
index 8f2fe1551b..5f7d515073 100644
--- a/plugins/AssocMgr/src/main.cpp
+++ b/plugins/AssocMgr/src/main.cpp
@@ -42,23 +42,6 @@ PLUGININFOEX pluginInfo = {
};
/////////////////////////////////////////////////////////////////////////////////////////
-// if we run here, we're running from the command prompt
-
-static bool bPathSet = false;
-
-FARPROC WINAPI myDliHook(unsigned dliNotify, PDelayLoadInfo)
-{
- if (dliNotify == dliNotePreLoadLibrary && !bPathSet) {
- bPathSet = true;
- SetCurrentDirectoryW(L"Libs");
- LoadLibraryW(L"ucrtbase.dll");
- }
- return NULL;
-}
-
-PfnDliHook __pfnDliNotifyHook2 = &myDliHook;
-
-/////////////////////////////////////////////////////////////////////////////////////////
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{