Delete all DCU's in your project folder and in your search path.
Rich Cooper wrote:
> Hi Delphiers,
>
> While trying to compile an old pascal program with D7/Vista, I get an error
> that I don't understand. It says:
>
> [Fatal Error] Grail.dpr(6): Unit Messages was compiled with a different
> version of Windows.TSmallPoint
>
> I am compiling Grail.dpr, which has the following text:
>
> ================================== =============================
> program Grail;
>
> uses
> Forms{,}
> {Ai in 'AI.PAS' {Form1,}
> {Grailio in 'GRAILIO.PAS'}; --THIS IS WHERE THE ERROR OCCURS
>
> {$R *.RES}
>
> begin
> Application.CreateForm(TForm1, Form1);
> Application.Run;
> end.
> ================================== =============================
>
> Since I have commented out the two units, what is it that uses Messages?
> If that is Forms, then how do I adjust this to get a good compile?
>
> Suggestions appreciated.
>
> -Rich
>
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
>
>
_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi