ok... I give up. How are strings handled in max? I'm trying to pass and return strings from a dll and all I'm getting is garbage. I've tried passing by reference to the dll, just the string itself, a memory pointer to the string (varptr)... No joy in sending a string to the dll. All I get is a three character string like "PyZ" or something similar with high ascii. In RECIEVING a string from the dll I've tried sending it back as unicode, a pointer to the string, the string itself, null terminated, etc etc etc... All I get back is garbage.
What's going on?
What's going on?