stupid issue with callback argument

Just starting out? Need help? Post your questions and find answers here.
User avatar
Markus
Posts: 8
Joined: Sat Dec 17, 2016 8:59 pm

stupid issue with callback argument

Post 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)
Bradan
Posts: 18
Joined: Fri Nov 04, 2016 2:07 pm

Re: stupid issue with callback argument

Post by Bradan »

The result of the procedure could be a callback function pointer. Thats why one cannot check this.
User avatar
Markus
Posts: 8
Joined: Sat Dec 17, 2016 8:59 pm

Re: stupid issue with callback argument

Post 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 ;)
Post Reply