From: Jeffrey Altman Date: Mon, 28 Aug 2006 06:09:18 +0000 (+0000) Subject: STABLE14-windows-shell-ext-20060829 X-Git-Tag: openafs-stable-1_4_2fc2~9 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=73dda023b02d45b96852ebba687bc1081a31479a;p=packages%2Fo%2Fopenafs.git STABLE14-windows-shell-ext-20060829 How did the afs_shl_ext_XXXX.dll module ever load on any platform? Since the name afs_shl_ext.dll is not 8.3 we must specify the base name explicitly. Otherwise, it won't load. (cherry picked from commit 56d71eaae70eca2c6065b9cf463c18cc3f6c7356) --- diff --git a/src/WINNT/client_exp/afs_shl_ext.cpp b/src/WINNT/client_exp/afs_shl_ext.cpp index bc4d09e20..3df3d8c0a 100644 --- a/src/WINNT/client_exp/afs_shl_ext.cpp +++ b/src/WINNT/client_exp/afs_shl_ext.cpp @@ -60,7 +60,7 @@ HINSTANCE g_hInstance; BOOL CAfsShlExt::InitInstance() { // Load our translated resources - TaLocale_LoadCorrespondingModule (m_hInstance); + TaLocale_LoadCorrespondingModuleByName (m_hInstance, TEXT("afs_shl_ext.dll")); // Register all OLE server (factories) as running. This enables the // OLE libraries to create objects from other applications.