NSRepository::FreeLibraries();
nsRepository::FreeLibraries();
int main(int argc, char **argv) {  RegisterTestFactories();  ITestClass *t = NULL;  NSRepository::CreateInstance(kTestFactoryCID,                               NULL,                               kTestClassIID,                               (void **) &t);  if (t != NULL) {    t->Test();    t->Release();  } else {    cout << "CreateInstance failed\n";  }  t = NULL;  NSRepository::CreateInstance(kTestLoadedFactoryCID,                               NULL,                               kTestClassIID,                               (void **) &t);  if (t != NULL) {    t->Test();    t->Release();  } else {    cout << "Dynamic CreateInstance failed\n";  }  NSRepository::FreeLibraries();  return 0;}