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)
This commit is contained in:
Jeffrey Altman 2006-08-28 06:09:18 +00:00
parent bbd3babf07
commit 73dda023b0

View File

@ -60,7 +60,7 @@ HINSTANCE g_hInstance;
BOOL CAfsShlExt::InitInstance() BOOL CAfsShlExt::InitInstance()
{ {
// Load our translated resources // 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 // Register all OLE server (factories) as running. This enables the
// OLE libraries to create objects from other applications. // OLE libraries to create objects from other applications.