Unit Controls not found in uHYModuleController

Hi,

We are moving our code from Delphi 2007 to Delphi Berlin, including Hydra for which we now use the latest version.
I am trying to rebuild a Hydra based DLL
Once I try to rebuild I get a “Unit Controls not found” error


unit uHYModuleController;

{$I Hydra.inc}

interface

uses
{$IFDEF DELPHI5}uHYD5Helpers,{$ENDIF}
{$IFDEF MSWINDOWS}ActiveX,{$ENDIF}
Classes, Contnrs,
{$IFDEF DELPHI_USE_UCL}UControls{$ELSE}
{$IFDEF MSWINDOWS}Controls,{$ENDIF}{$IFDEF LINUX}QImgList,{$ENDIF}
{$ENDIF}
uHYPluginFactories, uHYIntf, uHYCrossPlatformInterfaces;

Any ideas why?

Sounds like a missing .bpl reference?

pls check that VCL namespace is set.
what exactly version of Hydra you are using?

You were right, Vcl wasn’t defined as a “Unit scope name”