Jump to content
egnew

WinAPI Required in USES after "Delete Invalid Paths"

Recommended Posts

I deleted invalid paths in "tools options language Delphi library" for "library path", "browsing path", and "Debug DCU path" in both Win-32 and Win-64.   Compiling units with "Window" in the use clause fails with the message "[dcc32 Fatal Error] Form.pas(10): F2613 Unit 'Windows' not found."  Any unit from WinAPI such as Messages results in similar fatal errors.

 

I can bypass the error by using "WinAPI.WIndows, WinAPI.Messages," instead of "WIndows, Messages".  System units such as "SysUtils" can still be used without the need to qualify as "System.SysUtils". 

 

I am using RadStudio 11 Alexandria..  Is there a way to resolve this issue without reinstalling?

 

Thanks

Share this post


Link to post

Deleting invalid roads has in the past led to the complete collapse of the IDE. I strongly recommend using qualified unit names. You will avoid this problem. For new units, it is quite often a duty.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×