Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'

Post Reply
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'

Post by Hitman »

Hi guys,
any ideas why i get this error?
[dcc64 Error] TestBrowser.dpr(18): E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'

Many thanks in advance
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'

Post by salvadordf »

Hi,

That constant is declared in the "WinApi.Windows" or "Windows" unit.
The DPR file must have that unit in the uses section or you can also replace it by $20;

Some Delphi versions delete the "Windows" unit from the uses section automatically when you modify some forms in the project.
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: E2003 Undeclared identifier: 'IMAGE_FILE_LARGE_ADDRESS_AWARE'

Post by Hitman »

Many thanks!! :D
It is correct, i somehow did not remember it.
Post Reply