Path: utzoo!utgpu!attcan!uunet!mcsun!sunic!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon Watte) Newsgroups: comp.sys.mac.programmer Subject: Re: Better Docs/more proposals/useful sources of info Message-ID: <2269@draken.nada.kth.se> Date: 6 Nov 89 12:02:15 GMT References: <1989Nov1.232424.8861@agate.berkeley.edu> <16467@dartvax.Dartmouth.EDU> Reply-To: h+@proxxi.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 39 In article <16467@dartvax.Dartmouth.EDU> ari@eleazar.dartmouth.edu (Ari Halberstadt) writes: >bound, small, and the binder rings are ROUND!!! Yes, you don't have >to push 600 pagesto get to the index!!! (or maybe I'm fantasizing, I agree wholeheartedly on the "One updated section per manager" idea. >Maybe we could have a frequently asked questions posting, >on the same problems...what's the point??? We just need to find someone I * MIGHT * be able to do this. I think it requires setting up a mail alias, and the sysops at THIS system might not feel the need for this as badly as the Net seems to :-) I might be able to do this on another system, though then with one-day type of delays... Mail me (as h+@nada.kth.se or h+@proxxi.se) if you NEED this, and come with suggestions ! >That's about it. Oh, someone asked about handles, but I couldn't >get through to him. If you're still out there: > **hndl = SomethingThatFoolsWithMemory(); >Don't do that: THINK C evaluates the pointer first, then calls the >function, so if memory moves, you're in trouble. Similarly, don't do > SomethingThatFoolsWithMemory(&(**struct_hndl).element); >For the same reason. Of course you can do: HLock(hndl); **hndl = SomeThingThatMessesWithMemory(); HUnlock(hndl); That's what those calls are for... Happy Hacking ! h+ -- This .signature is longer than 4 lines. If you'd like to see it in whole, please send a note to me. I'm h+@nada.kth.se and also h+@proxxi.se 8')