Re: ADOQuery in thread hangs




Now a LONG time after the thread "hung" it suddenly popped up an error
message saying "System error 1309" and "A call to an OS function failed"
+ $2[51F1A494]{rtl100.bpl } SysUtils.SysUtils.RaiseLastOSError (Line
16275, "sysutils.pas" + 7) + $2
+ $5[51F1A41D]{rtl100.bpl } SysUtils.SysUtils.RaiseLastOSError (Line
16262, "sysutils.pas" + 0) + $5
+ $0[51F40BB0]{rtl100.bpl } Classes.Classes.StdWndProc (Line 11572,
"classes.pas" + 8) + $0
+ $6A[77D38731]{USER32.dll } GetDC + $6A
+ $14A[77D38811]{USER32.dll } GetDC + $14A
+ $122[77D389C8]{USER32.dll } GetWindowLongW + $122
+ $A[77D396C2]{USER32.dll } DispatchMessageA + $A

Can this help?

It doesn't help me but you might try changing your error handling code in
GetNextScheduleId so you can give us the Delphi error
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.