Re: Another question
Matthew Wills <[email protected]> Tue, 26 Nov 2002 13:13:43 +1100
| Newsgroups | gmane.comp.windows.devel.vbcom |
|---|---|
| Message-ID | <[email protected]> |
Jake, In general, there is not much of a difference (when dealing with objects - dealing with other data types is a different kettle of fish). ByVal has a very small performance benefit, but nothing worth noting. Both act basically the same unless you assign another object to the object variable which is the parameter. Seeya Matthew Wills @ Deutsche Asset Management (w) (02) 9249 9366 (h) (02) 9586 3655 (m) 0416 235 016 (work email) [email protected] (personal email) [email protected] jimc2774@HOTMAIL. COM To: [email protected] Sent by: cc: [email protected] Subject: [VBCOM] Another question ELOP.COM 26/11/2002 04:23 Please respond to VBCOM Another quick question (just to resolve some discussion around my office) which way is better (passing them, resource-wise, performance-wise & in general) in COM+ objects? : ByVal or ByRef? -jake -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. You can read messages from the VBCOM archive, unsubscribe from VBCOM, or subscribe to other DevelopMentor lists at http://discuss.develop.com.