Link to home
Start Free TrialLog in
Avatar of Roger Alcindor
Roger Alcindor

asked on

Embarcadero C++ builder XE10.1 Berlin TRegistry declaration

Can somebody enlighten me as to the header file to #include when using a TRegistry class in a Windows VCL application ?
The help file infers that I should use #include <Vcl.OleAuto.hpp>
but this does not solve the compile error "Type name Expected" when compiling the following line :

TRegistry* reg = new TRegistry(KEY_READ); // taken from the code example in the help files

Thanks,

Roger
ASKER CERTIFIED SOLUTION
Avatar of Roger Alcindor
Roger Alcindor

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial