Page 1 of 1

Compilation problem

Posted: Tue May 31, 2022 2:38 pm
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

Re: Compilation problem

Posted: Tue May 31, 2022 3:08 pm
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.

Re: Compilation problem

Posted: Wed Jun 01, 2022 7:23 am
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

Re: Compilation problem

Posted: Wed Jun 01, 2022 3:14 pm
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.