PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD75] Execute Function via pointer to Function
[WD75] Execute Function via pointer to Function
Iniciado por Peter van Vuuren, 30,jun. 2004 12:15 - 1 respuesta
Publicado el 30,junio 2004 - 12:15
Hi,
In WD75 (and for sure in WD8) it is possible to get a pointer (address) to
a function/procedure for callback proc's etc.
***
pProc is int = &MyProcedure
***
I like to know if (and how) it is possible to execute the function/procedure
only by knowing this pointer (some DLL's can so ...)
Peter
Publicado el 30,junio 2004 - 20:22
Hello Peter,
I think that this is only possible for API callbacks. But why not store the name of the procedure and pass it to the callback proc and do then a ExecuteProcess?
Regards
Raimund

Hi,
In WD75 (and for sure in WD8) it is possible to get a pointer (address) to
a function/procedure for callback proc's etc.
***
pProc is int = &MyProcedure
***
I like to know if (and how) it is possible to execute the function/procedure
only by knowing this pointer (some DLL's can so ...)
Peter



http://www.invitec.com