Page 1 of 1

Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Posted: Thu Feb 28, 2019 10:33 am
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

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Posted: Thu Feb 28, 2019 1:18 pm
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.

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Posted: Thu Feb 28, 2019 1:43 pm
by jeekanhaiya6
Yes, There was another version available in my system. I removed them and then reinstalled. This time it installed successfully.

Thank you :)

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Posted: Thu Feb 28, 2019 1:52 pm
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?

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Posted: Thu Feb 28, 2019 2:31 pm
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

Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas

Posted: Thu Feb 28, 2019 2:33 pm
by jeekanhaiya6
Thank you so much.