comparison host/tools/configtool/common/win32/CTCommonDoc.cpp @ 82:6736c52df507 ecos-sw-2000-04-14

Merge from eCos master repository on 2000-04-14-13:35:46-BST
author jlarmour
date Tue, 18 Apr 2000 21:51:55 +0000
parents 59d97b6ba612
children 95f3e12a6327
comparison
equal deleted inserted replaced
81:89fef2181d7d 82:6736c52df507
1191 } else { 1191 } else {
1192 1192
1193 // create a CDL repository, interpreter and configuration 1193 // create a CDL repository, interpreter and configuration
1194 1194
1195 try {// create a new package database, interpreter and configuration 1195 try {// create a new package database, interpreter and configuration
1196 NewCdlPkgData = CdlPackagesDatabaseBody::make (CUtils::UnicodeToStdStr(strNewPackagesDir)); 1196 NewCdlPkgData = CdlPackagesDatabaseBody::make (CUtils::UnicodeToStdStr(strNewPackagesDir), &CdlParseErrorHandler, &CdlParseWarningHandler);
1197 NewCdlInterp = CdlInterpreterBody::make (); 1197 NewCdlInterp = CdlInterpreterBody::make ();
1198 NewCdlConfig = CdlConfigurationBody::make ("eCos", NewCdlPkgData, NewCdlInterp); 1198 NewCdlConfig = CdlConfigurationBody::make ("eCos", NewCdlPkgData, NewCdlInterp);
1199 } 1199 }
1200 catch (CdlStringException exception) { 1200 catch (CdlStringException exception) {
1201 CUtils::MessageBoxF(_T("Error opening eCos repository:\n\n%s"), CString (exception.get_message ().c_str ())); 1201 CUtils::MessageBoxF(_T("Error opening eCos repository:\n\n%s"), CString (exception.get_message ().c_str ()));