<snip> >> >>What should I put in the AEGetParamdesc fn in place of @replyDesc >>so the descriptor gets passed back to the calling routine? >> >>--Steve > > >Incoming parameters are always placed in registers. If you need to >use a variable that can't be in a register, you'll have to swap it >out in the local fn. > >> >local fn AFunction(replyDescIN&) > DIM replyDesc as ptr to AEDesc > replyDesc = replyDescIN& OK I see that. Now if I were using DIM someDesc as AEDesc, I would pass the reference to the someDesc record into the toolbox call like so with an "@": fn AEGetParamDesc(otherparameters, @someDesc). How do I pass an exact equivalent into the toolbox call using replyDesc when it's defined "as PTR to AEDesc"? --Steve > > > >Best, > >-STAZ ~)~ > >800.348.2623 Orders http://www.stazsoftware.com >228.255.7086 FAX mailto:staz@... > >-- >To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>