Re: Should Globally Needed Objects be Members in Main Frame, Application, or be Global?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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





.