Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

General TRichView support forum. Please post your questions here
Post Reply
jeekanhaiya6
Posts: 10
Joined: Wed Dec 12, 2018 7:33 am

Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Post by jeekanhaiya6 »

Hello Team,

I have installed the TRichView for delphi berlin 10.1.
Now after compiling, I am getting an error in file 'RVColorCombo' saying
1. Undeclared Identifier 'ERichViewError'
2. Missing Operator or Semicolon
3. Incompatible types 'TComponent' and 'String'.

Could not compile used unit RVColorCombo.pas.

Can you help me?
Why I am getting these errors.
Currently I am using trial version of TRichView
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Post by Sergey Tkachenko »

ERichViewError is defined in RVTypes unit.
RVTypes is included "uses" of RVColorCombo.pas.

As I understand, the components were successfully installed, including RichViewActions. This means that Delphi was able to compile RichViewActions, including RVColorCombo.pas.
And the problem is in the specific project, am I right?

The only reason I can imagine: this project somehow uses units of older versions of TRichView or RichViewActions, dcu or pas. Please search for duplicates and delete them.
jeekanhaiya6
Posts: 10
Joined: Wed Dec 12, 2018 7:33 am

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Post by jeekanhaiya6 »

Yes, There was another version available in my system. I removed them and then reinstalled. This time it installed successfully.

Thank you :)
jeekanhaiya6
Posts: 10
Joined: Wed Dec 12, 2018 7:33 am

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Post by jeekanhaiya6 »

Hi,
After installing I got into another problem.
My project is built in delphi 2009. There in a form we used 'Ruler' unit.
Now with this trial version this is saying, 'Unit Ruler not found'. From where we can get that unit?
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Post by Sergey Tkachenko »

It was renamed to RVRulerBase.pas, to prevent name conflict with other third-party components.

If you created a project with older version of TRichView, please read information about possible compatibility issues in the help file:
https://www.trichview.com/help/version_history.html - for TRichView
https://www.trichview.com/help-actions/history.htm - for RichViewActions
jeekanhaiya6
Posts: 10
Joined: Wed Dec 12, 2018 7:33 am

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Post by jeekanhaiya6 »

Thank you so much.
Post Reply