Hello!
The following code, passes the address of an array to a procedure, in which the values of their elements are modified. It functions well, but when I try to do the same thing, but putting the procedure in a DLL does
not function (invalid memory access).
It's possible to do this?
Thanks
Structure PLAYER
Name$
Age.l
EndStructure
Dim Team.PLAYER(16)
Procedure Process(T.PLAYER(1))
For i = 0 To 15
T(i)\Name$ = "Player" + Str(i)
T(i)\Age = 18 + i
Next
EndProcedure
Process(Team())
For i = 0 To 15
Debug Team(i)\Name$
Debug Team(i)\Age
Next