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

  • Home
  • SEARCH
  • 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 69279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:32:54+00:00 2026-05-10T19:32:54+00:00

I work on a large project in Delphi 5. Today, after merging two branches

  • 0

I work on a large project in Delphi 5. Today, after merging two branches of the app together, one of the hundreds of units, UnitMain (the main form’s unit, would you guess) stopped recognizing the Application global.

This is a rather bizarre problem – I could get the program to compile by defining Application: TApplication in UnitMain, and setting that to the Application from our .dpr project file, but that leads to an access violation, which isn’t much of a surprise with Application being the special thing it is.

I’m hoping someone has faced the same problem before, or knows enough of Delphi VCL’s inner workings to help me out here.

unit UnitMain;  interface  uses   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,   Menus, ComCtrls, StdCtrls, cxButtons, ExtCtrls, IniFiles, ShellAPI,   LMDControl, LMDBaseControl, LMDBaseGraphicControl, LMDGraphicControl,   LMDScrollText, cxControls, cxContainer, cxListBox, Psock, NMFtp, db, DBTables,   FileCtrl, Configs, cxHint, DSetFunc, OleCtrls, DsInformation,   InterAppComm, ActnList, ADODB, OleServer, CRAXDRT_TLB; 

The exact error is that the compiler does not recognize Application in this unit. For example, for a Application.ProcessMessages; call, the error is ‘Object or class type required’. None of the other units has this problem.

  • 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. 2026-05-10T19:32:55+00:00Added an answer on May 10, 2026 at 7:32 pm

    I think it is most likely that you have two symbols called ‘Application’ in scope, and the one from the Forms unit isn’t the active one. Make sure the Forms unit in the uses list comes after any prior unit that contains a symbol called Application.

    But, you need to provide more information. The exact error messages, etc.

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

Sidebar

Ask A Question

Stats

  • Questions 67k
  • Answers 67k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Disabling the controls won't help you, as I've found from… May 11, 2026 at 12:02 pm
  • added an answer concordion-net is a .net port of Concordion, apparently 'its still… May 11, 2026 at 12:02 pm
  • added an answer I don't think it is possible to do that. Why… May 11, 2026 at 12:02 pm

Related Questions

I work on a large project in Delphi 5. Today, after merging two branches
I work on a large project and want to disable the Eclipse compiler warning
I'm thinking about starting work on a fairly large scale .NET or ASP.NET project
I work on a large C# application (approximately 450,000 lines of code), we constantly
I work on a large Intranet system - as it is an evolved system
I work on a complex application where different teams work on their own modules
I work on a small web team where I am the only .NET developer
I work on a Webproject using jQuery and CakePHP. I use jeditable as an
I work on a web game , I use asp.net mvc, linqtosql. I have
I work on a lot of Asian Language localization projects, and am looking for

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.