Adding Compatibility Unity Scopes for Delphi XE2

Posted on 2014-07-13
Last Modified: 2014-07-14

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.
Question by:Delphiwizard
    LVL 25

    Accepted Solution

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

    Author Closing Comment

    Perfect, thank you very much.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now