cout << "nsTestComFactory: "; cout << (aLock == PR_TRUE ? "Locking server" : "Unlocking server"); cout << "\n";
printf("nsTestComFactory: "); printf("%s", (aLock == PR_TRUE ? "Locking server" : "Unlocking server")); printf("\n");
  NS_IMETHOD LockFactory(PRBool aLock) {    cout << "nsTestComFactory: ";    cout << (aLock == PR_TRUE ? "Locking server" : "Unlocking server");    cout << "\n";    return S_OK;  }