Page 1 of 1

stupid issue with callback argument

Posted: Sun Jan 29, 2017 6:52 pm
by Markus
hi,
please can you check if the callback argument contains a @
because if it is missing it called just the function unwanted.

example:
OpenFileRequester("application/binary",RequesterSuccess(), #PB_Requester_MultiSelection) WRONG
OpenFileRequester("application/binary",@RequesterSuccess(), #PB_Requester_MultiSelection)

Re: stupid issue with callback argument

Posted: Mon Jan 30, 2017 10:50 am
by Bradan
The result of the procedure could be a callback function pointer. Thats why one cannot check this.

Re: stupid issue with callback argument

Posted: Mon Jan 30, 2017 6:35 pm
by Markus
if me can see this @ in code the compiler can see this too.
my function did not return a pointer and if so it is the opposite test without @
however
everything is possible with any solution ;)