Hello, All. Which code for establishing two connections is right?
This one: IProvider* disp = master->getDispatcher(); IAttachment* att1 = disp->attachDatabase(status, "DB1", 0, NULL); IAttachment* att2 = disp->attachDatabase(status, "DB2", 0, NULL); Or this one: IProvider* disp1 = master->getDispatcher(); IAttachment* att1 = disp1->attachDatabase(status, "DB1", 0, NULL); IProvider* disp2 = master->getDispatcher(); IAttachment* att2 = disp2->attachDatabase(status, "DB2", 0, NULL); -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
