Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8852681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:27:43+00:00 2026-06-14T13:27:43+00:00

I am migrating my Delphi 5 application to Delphi XE3. I am totally new

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T13:27:44+00:00Added an answer on June 14, 2026 at 1:27 pm

    As commented, your code can’t be real code.

    I’m posting this, which I compiled right now with Delphi XE3 without any problem.

    file: abc.inc

    type
      Interace_Info = packed record
        iflag: ulong;
      end;
    

    file: Unit2.pas

    unit Unit2;
    
    interface
    uses winapi.Windows;
    
    {$include abc.inc}
    
    implementation
    
    end.
    

    file: Unit1.pas

    unit Unit1;
    
    interface
    
    uses
      Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,  Vcl.Graphics,
      Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
    
    type
      TForm1 = class(TForm)
        Button1: TButton;
        procedure Button1Click(Sender: TObject);
      private
        { Private declarations }
      public
        { Public declarations }
      end;
    
    var
      Form1: TForm1;
    
    implementation
    uses Unit2;
    
    type
      TLocal = array[0..10] of Interace_Info;
    
    {$R *.dfm}
    
    procedure TForm1.Button1Click(Sender: TObject);
    var
      ALocal: TLocal;
    begin
      ALocal[0].iflag := 0;
      ShowMessage(IntToStr(ALocal[0].iflag));
    end;
    
    end.
    

    It compiles and run without any problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are migrating a pretty big application crafted in Delphi 5 (still getting customers
I am migrating an application written in Delphi 2007 .Net to Delphi Prism, which
I'm migrating a Delphi project from old Delphi 2.0 IDE to the new RAD
I am migrating an application written in Delphi 2007 to Delphi Prism, which is
I'm migrating an old Delphi application (using ZeosDB) to Delphi XE2. I want to
While migrating a legacy application to spring security I got the following exception: org.springframework.beans.factory.BeanCreationException:
While migrating some code to the latest version of F#, included in VS2010 b1,
I'm migrating an old Delphi application that I wrote into C#. The application is
I am migrating one of my sites to new cms and I would like
We are migrating a server application from Delphi 7 to Delphi 2007 and having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.