@Konne:
I do not fully understand your source and what you intend to do with it

You call the procedure
Request recursively over and over again with
CallFunctionFast which will lead in a kind of zombie process.
Anyway if you want to call the procedure again in itself, I guess you would
have to pass a pointer on a pointer (**pRequest in C) as a parameter afaik - but
I am not quite sure if purebasic supports it and if I am right with this
statement :roll: .
Otherwise, you pass the linkedlist correctly imho:
Code: Select all
Structure Request
Image.s
EndStructure
ProcedureDLL Requester(*Request.Request())
Debug AddElement(*Request())
*Request()\Image = "Hello"
; Debug *Request()
;CallFunctionFast(@Requester(),*Request())
;CallDebugger
EndProcedure
NewList Request.Request()
Requester(@Request())
SelectElement(Request(), 0)
Debug Request()\Image
Nevertheless, I think it is now (PB V4.0) possible to simple pass a linked
list / array as a "normal" parameter:
See :
http://freak.purearea.net/v4/ReadMe.html#arrayparam