Page 1 of 1

ActiveX ( To Antonio ) Solved

PostPosted: Wed Jun 03, 2009 1:01 am
by lailton.webmaster
I´m trying execute this method
ret:=oAct:Do("RED",aParams[1],aParams[2],aParams[3],aParams[4],aParams[5],aParams[6],aParams[7],0)

ret is to return 1, more return NIL, and looking in TactiveX i see it.

METHOD Do( cMethodName, uParam1, uParam2, uParam3, uParam4, uParam5 )

have onlly 5 parans and i need 8. Im trying this form.

Ret = ActXInvoke( ActXPdisp( oAct:hActiveX ), "RED", aParams[1], aParams[2], aParams[3], aParams[4], aParams[5], aParams[6], aParams[7], 0)

more return nil yet.

Thinnk that need change function ActXInvoke to receive more params.
I try use ToleAuto

ret:=oAct:RED(aParams[1],aParams[2],aParams[3],aParams[4],aParams[5],aParams[6],aParams[7],0)
return 1 OK more i need use Eventos and class TOleAuto not have it. and class TOleWEvent() show GPF

Antonio what´s your think ?

Re: ActiveX ( To Antonio )

PostPosted: Thu Jun 04, 2009 9:48 pm
by lailton.webmaster
:?:

Re: ActiveX ( To Antonio )

PostPosted: Tue Jun 09, 2009 8:30 am
by lailton.webmaster
:?:

Re: ActiveX ( To Antonio )

PostPosted: Thu Jun 11, 2009 9:12 am
by Antonio Linares
Lailton,

Please use the new Class TActiveX. There are no parameters limits :-)

viewtopic.php?f=3&t=15314&start=0

Re: ActiveX ( To Antonio )

PostPosted: Thu Jun 11, 2009 9:44 am
by lailton.webmaster
Antonio,

i need use it in fwh 8.5

how make to no have limit ??

thanks

Re: ActiveX ( To Antonio )

PostPosted: Thu Jun 11, 2009 10:24 am
by Antonio Linares
Lailton,

Have you tested it with fwh 8.5 ? It should work fine

Re: ActiveX ( To Antonio )

PostPosted: Fri Jun 12, 2009 11:12 pm
by lailton.webmaster
Perfect, all right with fwh 8.5 :D