Adding Compatibility Unity Scopes for Delphi XE2


Some third party source code has "Registry" in it's uses clause.
Compiling the project gives an compiler error:
[DCC Fatal Error] ThirdPartyUnit.pas(386): F1026 File not found: 'Registry.dcu'
Of course I could add prefix "System.Win," but I don't want to change third party sources.

Then I read the following articles to add Compatibility Unity Scopes.

In the Windows registry I added following keys, but this doesn't do the trick.

Windows Registry Editor Version 5.00


Open in new window

Any suggestions on how to get this working wthiout having to change to third party sources?
Please keep in mind I'm using Delphi XE2 with update 4.
Stef MerlijnDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sinisa VukCommented:
Very similar/recent question was here on EE
Try use info in comment .....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Stef MerlijnDeveloperAuthor Commented:
Perfect, thank you very much.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.