Code: Select all
OpenLibrary(1,"MyMagical.dll")
*a_pointer = GetFunction(1,"blahblahblah")
CallFunctionFast(*a_pointer,first_variable,second_variable)
As far as I understand, first we select a function from a dll and store its memory address in a pointer (do I understand right?)
But if we use a regular variable instead of a pointer, it works again!
Code: Select all
non_pointer_variable = GetFunction(1,"blahblahblah")
CallFunctionFast(non_pointer_variable,first_variable,second_variable)