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
Undeclared Identifier 'ERichViewError' in RVColorCombo.pas
-
- Posts: 10
- Joined: Wed Dec 12, 2018 7:33 am
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas
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.
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.
-
- Posts: 10
- Joined: Wed Dec 12, 2018 7:33 am
Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas
Yes, There was another version available in my system. I removed them and then reinstalled. This time it installed successfully.
Thank you
Thank you
-
- Posts: 10
- Joined: Wed Dec 12, 2018 7:33 am
Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas
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?
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?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas
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
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
-
- Posts: 10
- Joined: Wed Dec 12, 2018 7:33 am
Re: Undeclared Identifier 'ERichViewError' in RVColorCombo.pas
Thank you so much.