Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!apple!well!al From: al@well.sf.ca.us (Alfred Fontes) Newsgroups: comp.windows.ms Subject: Pass a Handle or Address Keywords: memory Message-ID: <20328@well.sf.ca.us> Date: 16 Sep 90 04:57:12 GMT Distribution: na Lines: 9 I'm designing a system that will be implemented in C++, although this question is probably language-independent. At various points in the program, a method gets an object or structure passed to it (actually, for efficiency, a reference is used). In many situations, passing an object's memory seems more appropriate than passing its address. Do any of you experts out there have any ideas about this? When is it better to pass a handle, and when is it better to pass an address?