Hi Wim. If it is working, then obviously they fixed the bug in Delphi 2006.
The same code, will crash Delphi 7 (badly) if you try to load that DPR file in IDE. The only solution is to edit the DPR manually and remove the ' s:=application.Title' line. It is strange the sometimes Delphi throws you an error message (Error in module Project1: Call to Application.CreateFrom is missing or incorrect.) and sometimes it tells you nothing about where the problem is. Wim Sterns wrote: > Hi, > > I am using BDS2006 on XP sp2, both with all updates. > I always set and use the application.title in the dpr > file. I have never had any problems with it. > > I created a simple test app with a blank form, which > compiles and runs fine, mainform caption is Form1, > taskbar is TEST2 as it should be. > > So I don't understand, or am I missing something? > > Here is the dpr code: > > var s : string; > > begin > Application.Initialize; > application.Title:='TEST'; > Application.CreateForm(TForm1, Form1); > s:=application.Title; > s:=s+'2'; > application.Title:=s; > Application.Run; > end. > > > > > --- CubicDesign <[EMAIL PROTECTED]> wrote: > > >> Anyway, it is still strange that reading/accessing >> the >> 'Application.Title' inside the DPR file (at design >> time) will make the >> project impossible to load in IDE! >> >> >> > > > > > ____________________________________________________________________________________ > Park yourself in front of a world of choices in alternative vehicles. Visit > the Yahoo! Auto Green Center. > http://autos.yahoo.com/green_center/ > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

