>Now the question is, since SomeRandomBoxApi takes a pointer to a >_D3DBOX (which is equivalent to a pointer to a Box), why pass in >the Box by value?
Just thinking out loud, but might it have something to do with threading concerns? If I hand out a reference to something on my stack to a strange API how do I know that it will finish with it before my stack changes.. John. =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com