add mclasses then
FPP.Defines.Assign(FDefines);
uPSComponent.pas(593,32) Error: Incompatible type for arg no. 1: Got
"tstrings", expected "TPersistent"
can i
FPP.Defines.Assign(TPersistent(FDefines));
1
yes i add mclasses in another unit
then
FPP.Defines.Assign( FDefines );
is ok.
but this promble is still
why ?
procedure tmainfo.exec(const sender: TObject);
var
pclass : TPersistentClass;
psexec: TPSScript ;
begin
pclass := getclass('TPSScript');
if assigned( pclass ) then //
begin
psexec:= TPSScript.Create(self) ;
// a.show;
end;
end;
last
assigned( pclass )
is false
------------------------------------------------------------------------------
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