[SOLVED] RequireDerivedFormResource problems lazarus / 31-LCL ---------------------------------------------------------------------- JD · 2013-10-26 22:18 Hi there everyone, Once in a while I run into a problem with Lazarus that reminds me of its rough edges & drives me up the wall. I'm working on an application that has been working fine for some years now. All of a sudden, when I start the application after compilation, I get an error saying Form resource TfrmProject1 not found. For resourceless forms, CreateNew constructor must be used. See the global variable RequireDerivedFormResource. and the application terminates!!!!  I had already addressed this problem when the transition to using RequireDerivedFormResource first appeared. RequireDerivedFormResoure := True in my project's lpr file. The project's resource file is in the same directory as the executable so I don't know what Lazarus is complaining about! Any advice on how to get around this problem? Thanks, JD Lazarus-1.1-42799-fpc-2.6.2-20130915-win32 ---------------------------------------------------------------------- Bart · 2013-10-26 22:49 You are probably missing the Code: [Select]{$R *.lfm} in the forms unit. This can haenn if you switch from "old style" (*.lrs) to "new style" resources in an existing program (Lazarus does not add it automatically). Bart ---------------------------------------------------------------------- JD · 2013-10-27 23:33 Thanks a million Bart. That was it. I may have deleted it by mistake because it was there before. Must be due to too many coffee fueled late nights coding.