On Friday 28 June 2013 19:03:10 minoshi wrote:
> Hello, Martin!
>
> Today I try to install new component on Component Pallete with 2.8.6
> version.
> I did as it is written in the README, but got next error :
>
> regmycomps.pas(13,41) Error: Incompatible type for arg no. 2: Got "Array
> Of Const/Constant Open Array of Class Of tmplayer", expected "Open Array
> Of TComponentClass"
>
> My regmycomps.pas :
> unit regmycomps;
> {$ifdef FPC}{$mode objfpc}{$h+}{$endif}
>
> interface
>
> implementation
> uses
> alsmplayer,
> msedesignintf;
>
> procedure register;
> begin
> registercomponents('Mplayer',[tmplayer]);
> end;
>
> initialization
> register;
> end.*
>
> *
> How to fix?
Try to add "mclasses" after "classes" in "uses" of alsmplayer.pas. MSEgui now
has own TPersistent class.
Martin
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk