Compilation problem

General TRichView support forum. Please post your questions here
Post Reply
logeas
Posts: 2
Joined: Sat Dec 07, 2019 7:45 am

Compilation problem

Post by logeas »

Hello,

I just install the last version on a new installation of delphi 11.1. destination windows
Compiling my application I have the message "to many parameters" in the unit sclrView at line 11538 fonction "FRichViewEdit.RVData.PaintTo"

Sommebody have the same problem ?

Thank for help
Best regards
Sergey Tkachenko
Site Admin
Posts: 17306
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Compilation problem

Post by Sergey Tkachenko »

Most probably, you have a copy of old TRichView units somewhere, and Delphi tries to compile some new units (ScaleRichView) with some old units (TRichView).
The installer should remove paths to other versions of the components from Delphi library paths, but your project may have other paths specified, or contain copies of units itself.

Solution: find old units and delete them.
logeas
Posts: 2
Joined: Sat Dec 07, 2019 7:45 am

Re: Compilation problem

Post by logeas »

Indeed the track was the right one.
I find it unfortunate that the installer no longer offers to choose the installation path.
The installation is done in "c:\components".

Thanks for your help
Sergey Tkachenko
Site Admin
Posts: 17306
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Compilation problem

Post by Sergey Tkachenko »

ScaleRichView is installed in the same folder as TRichView, so ScaleRichView installer never asks for a destination path.
TRichView installer allows choosing a path when installing for the first time, or if you uninstalled the previous version.
Post Reply