110 |
|
end; |
111 |
|
writeln(OutFile,'Signal Event'); |
112 |
|
Attachment.ExecImmediate([isc_tpb_write,isc_tpb_nowait,isc_tpb_concurrency],sqlEvent); |
113 |
< |
while not FEventSignalled do Sleep(50); |
113 |
> |
while not FEventSignalled do |
114 |
> |
begin |
115 |
> |
Sleep(50); |
116 |
> |
CheckSynchronize; |
117 |
> |
end; |
118 |
|
ShowEventCounts(EventHandler); |
119 |
|
FEventSignalled := false; |
120 |
|
|
206 |
|
DPB.Add(isc_dpb_user_name).setAsString(Owner.GetUserName); |
207 |
|
DPB.Add(isc_dpb_password).setAsString(' '); |
208 |
|
DPB.Add(isc_dpb_lc_ctype).setAsString(CharSet); |
205 |
– |
DPB.Add(isc_dpb_set_db_SQL_dialect).setAsByte(SQLDialect); |
209 |
|
DPB.Find(isc_dpb_password).setAsString(Owner.GetPassword); |
210 |
|
Attachment := FirebirdAPI.OpenDatabase(Owner.GetEmployeeDatabaseName,DPB); |
211 |
|
EventsTest(Attachment); |