mz@well.UUCP (Michael Zentner) (02/09/88)
This is in response to a problem flip!pixar was having concerning C strings in MPW. The MPW glue routines that convert C strings to their Pascal form do so ONLY for strings passed as function arguements, they do NOT work on strings that are part of of structures as records. So, fer instance in SFGetFile, the fName filed in the reply structure is a Pascal string, but the prompt and origName parameters are C strings. Also, whenever MPW converts a string with the "\p" indicator, the string will take up the same amount of space with the length byte added as the C string with the null byte at the end.