diff options
Diffstat (limited to 'shell/source/win32/shlxthandler/shlxthdl.cxx')
-rw-r--r-- | shell/source/win32/shlxthandler/shlxthdl.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/shlxthdl.cxx b/shell/source/win32/shlxthandler/shlxthdl.cxx index 13f687ad5a6b..d794e9f800b7 100644 --- a/shell/source/win32/shlxthandler/shlxthdl.cxx +++ b/shell/source/win32/shlxthandler/shlxthdl.cxx @@ -30,6 +30,8 @@ #include <olectl.h> // declarations of DllRegisterServer/DllUnregisterServer +#include <systools/win32/extended_max_path.hxx> + // Module global LONG g_DllRefCnt = 0; @@ -300,7 +302,7 @@ namespace /* private */ STDAPI DllRegisterServer() { - WCHAR ModuleFileName[32767]; + WCHAR ModuleFileName[EXTENDED_MAX_PATH]; GetModuleFileNameW( GetCurrentModuleHandle(), |