Update assertion failure message
authorJan Kotas <jkotas@microsoft.com>
Mon, 11 May 2015 18:49:22 +0000 (11:49 -0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 12 May 2015 01:52:39 +0000 (18:52 -0700)
src/utilcode/ccomprc.cpp

index f78640c..68304da 100644 (file)
@@ -837,9 +837,10 @@ HRESULT CCompRC::LoadString(ResourceCategory eCategory, LocaleID langId, UINT iR
 
                 if ( hr != E_OUTOFMEMORY)
                 {
-                    // Shouldn't be any reason for this condition but the case where we
-                    // used the wrong ID or didn't update the resource DLL.
-                    _ASSERTE(0);
+                    // Shouldn't be any reason for this condition but the case where
+                    // the resource dll is missing, code used the wrong ID or developer didn't 
+                    // update the resource DLL.
+                    _ASSERTE(!"Missing mscorrc.dll or mscorrc.debug.dll?");
                     hr = HRESULT_FROM_GetLastError();
                 }
                 break;