Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: "Tom Serface" <tserface@xxxxxxx>
- Date: Thu, 31 Aug 2006 11:28:12 -0700
Actually that's theApp.myStrVar to you, but yeah, it's easier.
Tom
"Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote in message
news:O9wdDlSzGHA.4312@xxxxxxxxxxxxxxxxxxxxxxx
"Tom Serface" <tserface@xxxxxxx> wrote in message
news:#fABNjSzGHA.4308@xxxxxxxxxxxxxxxxxxxxxxx
it's more difficult to access singletons.
?????
Typing theApp->myStrVar is so much easier than
CGlobals::Instance().GetVar()
?
--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx
.
- References:
- Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Artist
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Joseph M . Newcomer
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: AliR
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Mark Randall
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Ajay Kalra
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Tom Serface
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Ajay Kalra
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Mark Randall
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: AliR
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Ajay Kalra
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Tom Serface
- Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- From: Ajay Kalra
- Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- Prev by Date: Re: Execution time debug vs. release
- Next by Date: Re: Up to date MFC Book
- Previous by thread: Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- Next by thread: Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?
- Index(es):