it would be better if he exported a fn call for it that returned like a void * to it or something... though any way is a good way :x
That's exactly what I was thinking.
Edit: Oh yeah, but not NULL-terminated, 'cause binary variables can contain NULL chars. We need to get the string length aswell.