URGENCY lazarus / 8-Other ---------------------------------------------------------------------- cpalx · 2009-04-06 01:58 hello, i have a terrible problem. I was replacing one xx.pas  (just the pas file) file (datamodule) of my proyect from explorer, then i wanted to compile and i have the error : Project Raise exception class 'EReadError'  with message: with property: "Caption" i am using Lazarus 9.26.1 on windows XP SP3 the components in datamodule not changed from de original, just some functions something else: it says the compile correctly but after that, it  appers the message i showed before and it position ti Lresource.pas in try       //DebugLn('Form Stream "',ClassType.ClassName,'"');       //try       DestroyDriver:=false;       Reader := CreateLRSReader(Stream, DestroyDriver);       try         Reader.ReadRootComponent(Instance);       finally         Driver := Reader.Driver;         Reader.Free;         if DestroyDriver then           Driver.Free;       end; ---------------------------------------------------------------------- nigelg99 · 2009-04-07 15:52 It sounds as if your form file is not in sync with your pas file.  Should you not have copied the .lfm file along with the .pas file? If you don't want to do this for some reason, make sure that you don't have a component defined in the pas file that doesn't appear in the form file (or has a different name).  Every component listed before the private keyword in your pas file should have a definition in the lfm file, with exactly the same name. ---------------------------------------------------------------------- cpalx · 2009-04-07 20:06 thanks for you answer I solved. Deleting pas, lfm, o, ppc, and i created a new datamodule with the same components, then y replace the pas file by the original, i made compile all, and goes good now.