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 71k
  • Answers 71k
  • 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 We run a .NET environment here but using MySQL as… May 11, 2026 at 1:16 pm
  • added an answer I would look at some Bayesian classification methods. It would… May 11, 2026 at 1:16 pm
  • added an answer replace your CHANGE event with SLIDE ... i've asked similar… May 11, 2026 at 1:16 pm

Related Questions

No related questions found

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.