[mapguide-commits] r4240 - branches/2.1/MgDev/Common/CoordinateSystem

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Sep 21 11:20:47 EDT 2009


Author: uvlite
Date: 2009-09-21 11:20:46 -0400 (Mon, 21 Sep 2009)
New Revision: 4240

Modified:
   branches/2.1/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp
Log:
add another error message if configuration error

Modified: branches/2.1/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp
===================================================================
--- branches/2.1/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp	2009-09-21 14:03:26 UTC (rev 4239)
+++ branches/2.1/MgDev/Common/CoordinateSystem/CoordSysCatalog.cpp	2009-09-21 15:20:46 UTC (rev 4240)
@@ -185,6 +185,7 @@
 
     bool bResult=false;
 #ifdef _WIN32
+    //prepares the default path for dictionary failes
 
     STRING sDirDefault;
 
@@ -203,7 +204,10 @@
             sDirDefault = szPath;
             sDirDefault += _T("\\Autodesk\\Geospatial Coordinate Systems"); //NOXLATE
             szPathVar = sDirDefault.c_str();
-        }
+        } 
+        //else {
+        //    ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%t) CCoordinateSystemCatalog::GetDefaultDictionaryDir() - Could not read SpecialFolderPath from registry\n")));
+        //}
     }
 
     if(szPathVar)
@@ -242,7 +246,7 @@
 
     if (!bResult)
     {
-        throw new MgCoordinateSystemInitializationFailedException(L"MgCoordinateSystemCatalog.GetDefaultDictionaryDir", __LINE__, __WFILE__, NULL, L"", NULL);
+        throw new MgCoordinateSystemInitializationFailedException(L"MgCoordinateSystemCatalog.GetDefaultDictionaryDir ", __LINE__, __WFILE__, NULL, L"", NULL);
     }
 
     //And return success.



More information about the mapguide-commits mailing list