Unit scoping
Posted: Mon Sep 14, 2015 3:53 pm
Hi,
I hope this is the right place to ask. I am using Delphi XE8 and I have VCL application.
When I added VCLTee prefix to Unit Scope Names in Project options, compiler still reported missing units if I use it:
uses TeEngine -> 'TeEngine.pas' cannot be found!
Then I added VCLTee prefix in Tools->Environmental settings->Delphi Options -> Library and compiling was succesful. Why is it so?
I expected it would be enough to add VCLTee prefix in Project Options. I read XE8 help about unit scoping but I am still a bit confused. On the other hand I would like to keep this settings on project level not as general environmental settings.
Can you tell what am I doing wrong?
Thank you in advance.
I hope this is the right place to ask. I am using Delphi XE8 and I have VCL application.
When I added VCLTee prefix to Unit Scope Names in Project options, compiler still reported missing units if I use it:
uses TeEngine -> 'TeEngine.pas' cannot be found!
Then I added VCLTee prefix in Tools->Environmental settings->Delphi Options -> Library and compiling was succesful. Why is it so?
I expected it would be enough to add VCLTee prefix in Project Options. I read XE8 help about unit scoping but I am still a bit confused. On the other hand I would like to keep this settings on project level not as general environmental settings.
Can you tell what am I doing wrong?
Thank you in advance.