From: Jeffrey Altman Date: Mon, 28 Aug 2006 06:04:03 +0000 (+0000) Subject: windows-shell-ext-20060829 X-Git-Tag: BP-openafs-windows-kdfs-ifs~1081 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=56d71eaae70eca2c6065b9cf463c18cc3f6c7356;p=packages%2Fo%2Fopenafs.git 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. --- diff --git a/src/WINNT/client_exp/afs_shl_ext.cpp b/src/WINNT/client_exp/afs_shl_ext.cpp index 366d67ff5..d93caaa4b 100644 --- a/src/WINNT/client_exp/afs_shl_ext.cpp +++ b/src/WINNT/client_exp/afs_shl_ext.cpp @@ -63,7 +63,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.