Re: initializing private member variables
From: Walter (walter.whitlock_at_REMOVE.boc.com)
Date: 05/10/04
- Next message: Victor: "Re: #import (ADO problem?)"
- Previous message: spyhole: "When is the WTL OPEN SOURCE?"
- In reply to: Brian Muth: "Re: initializing private member variables"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 May 2004 08:55:28 -0400
Thanks for the pointers J. W. and Brian. They have focused my attention
back where it belonged. The source of my confusion was that I was looking
at the wizard generated definition of my class constructor in a *.h file and
seeing only a declaration and thinking that ATL had somehow taken over my
class's definition and how could I tell ATL that I wanted to initialize some
member variables. It's obvious to me now, but I was so focused on ATL
because of it's newness to me that I overlooked what I should have seen.
Thanks for setting me straight,
Walter
"Brian Muth" <bmuth@mvps.org> wrote in message
news:OcdGSFINEHA.1312@TK2MSFTNGP12.phx.gbl...
> If you are trying to pass some data to initialize the private member
> variables, then you really should define a special method, such as
Init(<my
> initializing data>), and have the client call this explicitly right after
> the object is instantiated.
>
> Brian
>
>
>
- Next message: Victor: "Re: #import (ADO problem?)"
- Previous message: spyhole: "When is the WTL OPEN SOURCE?"
- In reply to: Brian Muth: "Re: initializing private member variables"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|