Recent

Author Topic: RichMemo cannot compile  (Read 12421 times)

Zoran

  • Hero Member
  • *****
  • Posts: 1830
    • http://wiki.lazarus.freepascal.org/User:Zoran
RichMemo cannot compile
« on: March 06, 2010, 06:13:02 am »
RichMemo package can't be compiled with this morning's snapshot (0.9.29 - 23844).

Compiler gives this message (Windows XP, win32 ws):
Code: [Select]
C:\lazarus\components\richmemo\win32\win32richmemo.pas(105,3) Error: Wrong number of parameters specified for call to "PrepareCreateWindow"
« Last Edit: March 06, 2010, 06:16:22 am by Zoran »

SunyD

  • Guest
Re: RichMemo cannot compile
« Reply #1 on: March 06, 2010, 08:40:01 am »
SVN Version works. Download from svn.
Maybe you must change in:
..\win32\win32richmemo.pas (Line: 141)
from
PrepareCreateWindow(AWinControl, Params);
to
PrepareCreateWindow(AWinControl, AParams, Params);

I tested it with Lazarus version 0.9.29 fpc 2.4.1 svn 23844

 

TinyPortal © 2005-2018