DEVEL15-windows-shell-ext-20060829
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Aug 2006 06:05:01 +0000 (06:05 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 28 Aug 2006 06:05:01 +0000 (06:05 +0000)
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)

src/WINNT/client_exp/afs_shl_ext.cpp

index bc4d09e..3df3d8c 100644 (file)
@@ -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.