Thank you Rafke for the clues, but it seems I can't obtain the address of the variable (only the pointer to it).
And searching on the web I found bad behaviours with
VB when you try to send API calls by sending the pointer or the address of a variable (plus
VB uses UNICODE strings, instead of ANSI that are used for API calls, but neither canverting the string to ANSI works)...
I have an idea, maybe to read the portion of memory of the pointer sent to BSplayer, but I have no time at the moment..
(There are a lot of problems when the few things you know are self and quick learned :roll: and that is my VB knowledge)