PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD18] DotNetDelegate parameters
[WD18] DotNetDelegate parameters
Iniciado por guest, 17,dic. 2015 13:09 - No hay respuesta
Publicado el 17,diciembre 2015 - 13:09
Hi,

I am calling a method in a .net dll and I need to catch the events that are generated.

I have added a DotNetDelegate command to my code which I believe is correct (no compilation errors)

ClMyClass:add_Responded(DotNetDelegate(ppResponded,"clientApi.EventHandler"))
The documentation says to use a procedure like:
PROCEDURE ppResponded(src,args) to process the events.

What I don't understand is what variable type "src" and "args" should be.

Can anybody help me out?

Thanks
Ned!