Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!ig!agate!ucbvax!ucsfcgl!pixar!flip From: flip@pixar.UUCP (Flip Phillips) Newsgroups: comp.sys.mac Subject: comp.sys.mac Message-ID: <1428@pixar.UUCP> Date: 26 Jan 88 18:52:31 GMT Organization: Pixar -- Marin County, California Lines: 19 Keywords: MPW SFGetFile Arrrrrgggggg..... Okay, just sitting around, trying to convert some Lightspeed C code to MPW C (To take advantage of the 68881...) Now, it seems Ive tried pretty much everything but I cannot get SFGetFile to operate correctly. In the filename field of the SFReply structure I usually get a NULL string or garbage. Ihave tried: using p2cstr to convret the field using SFGETFILE (non-glue routine) After looking in MacsBug at the thing there is a string stored in the structure (when using the SFGetFile glue routine) that contains a length byte (ala pascal string) tracing it through p2cstr I see the string get eaten up, digested, disolved.... any ideas here? sun!pixar!flip