From a82b7e99495a2a351a1e4a95381ca29225eb8424 Mon Sep 17 00:00:00 2001 From: Tannin Date: Thu, 13 Mar 2014 19:00:32 +0100 Subject: - "CreateDirectory" will no longer create directories in original data directory - bain installer will now be less picky about the archives supported - updated NCC to be compatible with more recent NMM code base - hack in NCC to allow it to install arbitrary sized files even in 32-bit builds - updated the python27.dll to one that links to msvcr100.dll to get rid of the dependency of msvcr90.dll - bugfix: dll search order wasn't set to allow plugins to load the correct qt dlls --- src/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4c66ccce..a39a497e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -322,6 +322,9 @@ MainWindow::MainWindow(const QString &exeName, QSettings &initSettings, QWidget m_Tutorial.expose("modList", &m_ModList); m_Tutorial.expose("espList", &m_PluginList); + + // before we start loading plugins we, add the dll path to the dll search order + ::SetDllDirectoryW(ToWString(QDir::toNativeSeparators(qApp->applicationDirPath() + "/dlls")).c_str()); loadPlugins(); } -- cgit v1.3.1