On 11/13/05, Eric Sunshine <[EMAIL PROTECTED]> wrote: > On Nov 13, 2005, at 9:11 AM, rod kay wrote: > > i will dispose of the convenience pointer, and replace it with > > Applet->GetObjectRegistry (), throughout my code, as i guess this is a > > better way of accessing the registry. > You can still maintain a convenience pointer but, rather than > invoking CreateEnvironment() yourself, do set up your convenience > pointer by asking for it via csApplicationFramework::GetObjectRegistry > () after its Initialize() method has been invoked.
On the other hand, csApplicationFramework::GetObjectRegistry() is just a sipmle one-liner inline function, so you probably don't gain too much by holding your own convenience pointer (other than, perhaps, improved readability of your code). -- ES ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
