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

src/WINNT/client_exp/afs_shl_ext.cpp

index 366d67f..d93caaa 100644 (file)
@@ -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.