Link to home
Start Free TrialLog in
Avatar of systan
systanFlag for Philippines

asked on

Newly installed delphi XE

Cannot resolved all the uses; like: Windows, Messages, SysUtils, ALL
and also: TForm and TObject


Any idea to solved this issue?
Avatar of ebob42
ebob42
Flag of Netherlands image

Start Delphi XE, do Tools | Options and in the Delphi Options, look at the Library path page.

The Library Path should be set to:

$(BDSLIB)\$(Platform)\release;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include

If not, then you will not be able to find the units, and hence the compiler won't know about TForm and TObject for example.
Avatar of systan

ASKER

hi drBob;
Actually it was fix now, but you will have the points.
I edited "CodeGear.Common.Targets"
and removed this;

<Import Project="$(APPDATA)\Embarcadero\$(BDSAppDataBaseDir)\8.0\environment.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAppDataBaseDir)\8.0\environment.proj') and '$(ProjectVersion)'!=''"/>

any comments regarding to my kind of troubleshooting? is this Ok just like your comment?
ASKER CERTIFIED SOLUTION
Avatar of ebob42
ebob42
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of systan

ASKER

>>What gave you the idea to edit the CodeGear.Common.Targets ??

The delphi XE messages "environment.proj" error, so I deleted it and was fixed, but it returns when I open again the delphi Xe ide, so I decided to find the text in delphi Xe folder, and did find it on .target
So, I removed it.

>>Did you open an old project, from a different version of Delphi?
No, it's my first delphi Xe run


Thanks also
Avatar of systan

ASKER

Oh, please can you send your .target file, so I may compare the text of which I was wrong?, if I am.
Here's my CodeGear.Common.Targets file as .txt file (so I could upload it).
CodeGear.Common.Targets.txt
Avatar of systan

ASKER

 <Import Project="$(APPDATA)\Embarcadero\$(BDSAppDataBaseDir)\$(ProductVersion)\environment.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAppDataBaseDir)\$(ProductVersion)\environment.proj') and '$(ProductVersion)'!=''"/>

I've removed this lines.
There is really a problem or something wrong with my delphi XE

if it is OK for you to send your "environment.proj" located at doc settings, app data, please send.


thank you
Avatar of systan

ASKER

Thank you very much, that's all I need.