• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 692
  • Last Modified:

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 Merlijn
Stef Merlijn
1 Solution
Sinisa VukCommented:
Very similar/recent question was here on EE
Try use info in comment .....
Stef MerlijnDeveloperAuthor Commented:
Perfect, thank you very much.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now