The problem *may* not be in the (DFM) form file but in the DPR file. I recently posted something related to this. Delphi IDE accused the DFM but the error was in DPR.
To check this, create a new/clean project and add the existing forms to this new project. Wilfried Mestdagh wrote: > Hello, > > I have a Delphi 7 project, and when I open it then I have on 4..5 forms > the error: "Error creating form: a call to an OS failed". Typically it > is always the same forms. > > When I then close Delphi, then doubleclick on 1 of the *.dfm files, then > it opens in text. When I then rightclick and hit 'Show as form', then I > see the form. > > If I do not close it, and just reopen the project, then all forms are > loaded. > > There's nothing special, even a small (logon) form has the problem. > There are 15 forms in the project. > > Someone has ever got this problem or could know the cause of it ? > > --- > Rgds, Wilfried > mailto:[EMAIL PROTECTED] > http://www.mestdagh.biz > > __________________________________________________ > Delphi-Talk mailing list -> Delphi-Talk@elists.org > http://www.elists.org/mailman/listinfo/delphi-talk > > __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk