From 23445f29860da2ebec3ba021f79f860e128e9113 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Sep 2017 21:54:29 +0300 Subject: unfortunately there's no other way --- src/miranda32/src/miranda.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/miranda32/src/miranda.cpp b/src/miranda32/src/miranda.cpp index a42b367110..bb95ad1e56 100644 --- a/src/miranda32/src/miranda.cpp +++ b/src/miranda32/src/miranda.cpp @@ -49,6 +49,8 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR cmdLine, int) GetEnvironmentVariable(L"PATH", ptszVal + cbPath + 1, cbSize); SetEnvironmentVariable(L"PATH", ptszVal); + DeleteFile(L"mir_core.dll"); + int retVal; HINSTANCE hMirApp = LoadLibrary(L"mir_app.mir"); if (hMirApp == NULL) { -- cgit v1.2.3