PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → [WD75] Execute Function via pointer to Function
[WD75] Execute Function via pointer to Function
Iniciado por Peter van Vuuren, jun., 30 2004 12:15 PM - 1 resposta
Publicado em junho, 30 2004 - 12:15 PM
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 em junho, 30 2004 - 8:22 PM
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