by Didier >> Thu, 8 Nov 2007 8:56:38 GMT
hi:
i defined a class named SRMast and method
SRMast::method1 ======================================================
method1( _count : Integer ) : String ;
vars
i : Integer ;begin
foreach i in 1 to 10000 do
write "method1 " & i.String ;
endforeach ;
return null ;
end ;
=========================================================
why the following code can not throuht compile
and give me exception message:
Error 6391 -First actual parameter for PseudoMethodCallType must be object reference.
Asynchronous method is very improtant for us
Appriciate for any help.
the program code is as following ========================================================================= button2_click(btn: Button input) updating;
vars
srmast : SRMast ;
jmc : JadeMethodContext ;
count : Integer ;
obj : Object ;begin
create srmast transient ;
create jmc transient ;
jmc.invoke( srmast, "method1", count,count ) ;
epilog
delete srmast ;
delete jmc ;
end ;
==============================================================