On Sunday 29 June 2014 13:47:18 liuzg2 wrote:
> >   psexec: TPSScript ;
> > begin
> >
> >   psexec:= TPSScript.Create(self) ;
>
> Free Pascal Compiler version 2.6.4 [2014/03/06] for i386
> Copyright (c) 1993-2014 by Florian Klaempfl and others
> Target OS: Win32 for i386
>
> main.pas(44,33) Error: Incompatible type for arg no. 1: Got "tmainfo",
> expected "TComponent"
> uPSComponent.pas(630,23) Hint: Found declaration: constructor
> TPSScript.Create(TComponent);
> main.pas(54) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
>
>    pclass :=  getclass('Tpagereport');
>   if assigned(pclass ) then
>    begin
>     tabs:= TmyFrameClass(pclass).create(nil );
>
> assigned(pclass )  is false
>
> i user old  msegui  and fpc  2.6.4    all is ok
>
Add "mclasses" after "classes" in "uses" of "TPSScript" unit. See README.TXT:
"
* 2.8.6 -> 3.0:
* MSEgui now has own implementations for "classes" and "db" units.
* FPC has no support for unit alias
* http://www.mail-archive.com/fpc-pascal%40lists.freepascal.org/msg31117.html
* Please change "db" to "mdb" in uses and add 
* "mclasses" after "classes" in uses in your units
"

Martin

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to