PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → [WD75] Execute Function via pointer to Function
[WD75] Execute Function via pointer to Function
Started by Peter van Vuuren, Jun., 30 2004 12:15 PM - 1 reply
Posted on June, 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
Posted on June, 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