If I have a pointer to a function and I give that to another (Unrelated/Child) Executable, how can I call that function without making a segfault?
At the moment I can create a function and assign it this memory adress:
Dim As Function (ByRef As String) As Integer MyFunction
' get pointer...
MyFunction = FunctionPointer
But then calling MyFunction I get a segfault (Obviously because the function I am calling is in another executables adress space whitch I am not allowed to access)
How can I fix this/Work around it?