Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!ames!oliveb!pyramid!decwrl!Angelo!Portia!Jessica!duggie From: duggie@Jessica.stanford.edu (Doug Felt) Newsgroups: comp.sys.mac.programmer Subject: Re: Using the new AppleTalk interface from Lightspeed C 3.01 Summary: pack the name Message-ID: <156@Portia.Stanford.EDU> Date: 30 Jan 89 18:31:27 GMT References: <894@mailrus.cc.umich.edu> Sender: news@Portia.Stanford.EDU Reply-To: duggie@Jessica.stanford.edu (Doug Felt) Organization: Stanford University Lines: 16 I could not tell from your original posting what the structure of search_name was. It should be packed (IM V2 refers somewhat cryptically to "the form shown in figure 13 above") with each pascal string immediately following the previous one. If you use NBPSetEntity you should get a valid entity name. Still, I don't think that would cause a crash. The rest of the code looks ok to me. I have LSC code at home that works, which I can send. I am myself trying to write up some routines for a generic server, so if anyone else has done this or has sample code perhaps they can post it. Doug Felt Courseware Authoring Tools Porject Stanford University