Hi Zvoni...thank you for answering
I think it may be useful to attach the trace file. Perhaps for a more experienced person it can provide useful information.
I copied the routine, which is indicated in the log on line 263
Call trace for block $00007F8322912680 size 144
$00000000004025F7 INITDBCONFIG, line 263 of mainrack40.lpr $000000000040328B DORUN, line 471 of mainrack40.lpr
$0000000000486B69
function THBConfigDb.OpenDb: boolean;
begin
try
if not Assigned(Fcnx) then
begin
Fcnx := TSQLite3Connection.Create(nil);
Fcnx.Transaction := TSQLTransaction.Create(Fcnx);
end
else
if Fcnx.Connected then Fcnx.Close();
if not Assigned(Fquery) then
begin
Fquery := TSQLQuery.Create(nil);
Fquery.SQLConnection := Fcnx;
end
else if Fquery.Active then Fquery.Close;
Fcnx.DatabaseName := FdirDb + FdbName;
Fcnx.Open;
Fcnx.Close();
Result := True;
FdbOk := True;
except
Result := False;
FdbOk := False;
resetQry;
resetCnx;
end;
end;
All the code is in a small class used to save messages read from 2 can bus channels.
Messages are pulled from a queue in the main program.
I can post all the code but maybe it's better if I put the one mentioned in the log.
Carlo
p.s.
sorry for my english but i got help from a translator