hello,
I want to know if it's possible to create an array or a linked list of pointeur to a function.
example :
dim Array.***(50)
Array(0) = @Beep_()
...
Array(0)() would be the same as Beep_()
somebody knows ?
thx
++
function pointeur in a array !
You mean this?
Code: Select all
If OpenLibrary(0,"kernel32.dll")
*BeepFuncPointer = GetFunction(0,"Beep")
EndIf
Debug *BeepFuncPointer
Structure Pointer
MyFuncPointer.l
EndStructure
Dim Array.Pointer(50)
Array(0)\MyFuncPointer = *BeepFuncPointer
CallFunctionFast(Array(0)\MyFuncPointer,500,500)
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany