I saw on a previous post I can retrieve the address of my function "test_func" as follows.
address := ( @testfunc() )
The valtype( address ) function returns "S"
I'm looking for a value to pass to a C-function DLL that requests a pointer to my function "test_func" in order to handle socket callback processing.
HTTPEVENTPROC lpfnEventProc,
What is valtype "S"?
My DLL function GPF's when I pass this value. I've tried to define it as LPSTR and PTR - both cause GPF.
is anybody aware of a way to get from "myapp.exe" the address of function "test()" in the form of c-data type lpfn ??