mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-30 09:14:39 +02:00
parent
15e5da6f7d
commit
85d7215d9b
@ -34,7 +34,7 @@ bool MiniDumper::writeDump(EXCEPTION_POINTERS * pExceptionInfo)
|
||||
LPCTSTR szResult = NULL;
|
||||
bool retval = false;
|
||||
|
||||
HMODULE hDll = ::LoadLibrary( TEXT("DBGHELP.DLL") ); //that wont work on older windows version than XP, #care :)
|
||||
HMODULE hDll = ::LoadLibraryEx(TEXT("DBGHELP.DLL"), nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32); //that wont work on older windows version than XP, #care :)
|
||||
|
||||
if (hDll)
|
||||
{
|
||||
|
@ -1169,7 +1169,7 @@ bool NppParameters::load()
|
||||
//---------------------------------------------//
|
||||
// Dlg theme texture function for xp and vista //
|
||||
//---------------------------------------------//
|
||||
_hUXTheme = ::LoadLibrary(TEXT("uxtheme.dll"));
|
||||
_hUXTheme = ::LoadLibraryEx(TEXT("uxtheme.dll"), nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32);
|
||||
if (_hUXTheme)
|
||||
_enableThemeDialogTextureFuncAddr = (WNDPROC)::GetProcAddress(_hUXTheme, "EnableThemeDialogTexture");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user