void TConfiguration::CleanupHostKeys() { try { CleanupRegistry(GetSshHostKeysSubKey()); } catch (Exception & E) { throw ExtException(&E, LoadStr(CLEANUP_HOSTKEYS_ERROR)); } }
void TConfiguration::CleanupConfiguration() { try { CleanupRegistry(GetConfigurationSubKey()); if (GetStorage() == stRegistry) { FDontSave = true; } } catch (Exception & E) { throw ExtException(&E, LoadStr(CLEANUP_CONFIG_ERROR)); } }
//--------------------------------------------------------------------------- void __fastcall TConfiguration::CleanupConfiguration() { try { CleanupRegistry(ConfigurationSubKey); if (Storage == stRegistry) { FDontSave = true; } } catch (Exception &E) { throw ExtException(&E, LoadStr(CLEANUP_CONFIG_ERROR)); } }