Recent

Author Topic: zeos error fatal cant find unit ZSqlUpdate  (Read 4106 times)

mtdew3q

  • Guest
zeos error fatal cant find unit ZSqlUpdate
« on: October 06, 2005, 08:03:33 am »
hi-

zeos bombs out on this line for me.
i had 4 other compiler errors.  something about overriding wasnt necessary
because the code in the ancestor didnt require it so i removed the word
override.  

 i cant get this latest one patched up though :-(
/home/thirdshift/cvsRoot/zeos/zeosdbo_rework/src/component/ZSqlUpdate.pas(390,34) Fatal: Can't find unit ZSqlUpdate

how can it not find the unit when the compiler stops on a line in the very same unit?

i have a VERY recent lazarus version and the latest zeosdbo_rework.

nothing too critical.  i am just up late at night messing around for something to do.
if you know, please let me know on the forum.
<see code below>

thanks,
jim


procedure TZUpdateSQL.RebuildAll;
var
  OldParams: TParams;
begin
  OldParams := TParams.Create;  // this line is where it bombs!
  OldParams.Assign(FParams);
  FParams.Clear;
  try
    Rebuild(FModifySQL);
    Rebuild(FInsertSQL);
    Rebuild(FDeleteSQL);
    FParams.AssignValues(OldParams);
  finally
    OldParams.Free;
  end;
end;

mtdew3q

  • Guest
re: zeos error fatal cant find unit
« Reply #1 on: October 09, 2005, 08:02:50 am »
someone just posted an idea i didnt try.
they said my version of fpc may be the problem.
i had version 2 of fpc and it needs  to be a little
newer.  i had the 9.9 of lazarus and 9/26/2005 alpha version
of zeoslib.  the only thing i was missing of course
was a more recent version of fpc.

ie. version 2 fpc + a more recent minor revision

i will definitely give that a try.

thanks,
jim

 

TinyPortal © 2005-2018