I am migrating my Delphi 5 application to Delphi XE3. I am totally new to XE3.
While compiling application I am getting error 'Undeclared Identifier Interace_Info'.
Code is like below:
abc.inc:
Interace_Info = packed record
iflag: ulong;
end;
.
Unit unit2
type
ulong: DWORD;
{$include abc.inc}
end.
.
Unit unit1
uses unit2;
type
Tlocal= array[0..10] of Interace_Info;
Where Interace_Info is declared in 'abc.inc' file.
I am not able to open any file which is mentioned in uses section by pressing Ctrl+left mouse button. I am getting error "Unable to locate file 'winapi.unit2.pas' ".
What is the solution to this?
Thanks