I had tried byte ptr and it had worked. Unfortunatly it is not really a solution as it would mean you could not pass a bmax string to the function
"unable to convert String to byte ptr"
Also bmax doesn't autocast pointers so passing byte ptr to $z gets..
"unable to convert byte ptr to CString"
"unable to convert String to byte ptr"
Also bmax doesn't autocast pointers so passing byte ptr to $z gets..
"unable to convert byte ptr to CString"