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 6701733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:58:10+00:00 2026-05-26T06:58:10+00:00

I want my application to be able to use more than 2GB memory, I

  • 0

I want my application to be able to use more than 2GB memory, I googled around and found that the IMAGE_FILE_LARGE_ADDRESS_AWARE command lets me do that.

So I added

{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}

To my program’s .dpr file, after all the uses and the {$R *.res} line,

but when I compile, I get the error:

E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'

What am I doing wrong?

Also, on Windows 7 64bit, do I need to mess around with boot settings for this command to work, or just compile a 32bit application with the command and it will do everything else automatically?

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-05-26T06:58:11+00:00Added an answer on May 26, 2026 at 6:58 am

    Also, on Windows 7 64bit, do I need to mess around with boot settings for this command to work, or just compile a 32bit application with the command and it will do everything else automatically?

    64-bit Windows will provide 4 GB address space automatically, without boot tweaks.

    http://msdn.microsoft.com/en-us/library/windows/desktop/bb613473%28v=vs.85%29.aspx:

    To enable an application to use the larger address space, set the
    IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the image header. The linker
    included with Microsoft Visual C++ supports the /LARGEADDRESSAWARE
    switch to set this flag. Setting this flag and then running the
    application on a system that does not have 4GT support should not
    affect the application.

    On 64-bit editions of Windows, 32-bit applications marked with the
    IMAGE_FILE_LARGE_ADDRESS_AWARE flag have 4 GB of address space
    available.

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

Sidebar

Related Questions

I want to be able to use the iPhones Mail.app inside my application so
I'm developing an XBAP application in C# and want to be able to use
I want to create an application for Android that will be able to scan
I am developing an application that makes use of the Java Interface as more
In a Java application I want to be able to take a timestamp at
I want to control the mouse pointer with my application and be able to
I'm building an as3 only web application and want to be able to include
I am using ElasticSearch in my Python application and want to be able to
I want to be able to push out application updates to windows mobile 5
I want to be able to add scripting functionality to my application. One of

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.