Re: What MFC Objects Can't be created on the Stack?
- From: "Tom Serface" <tserface@xxxxxxx>
- Date: Tue, 8 Aug 2006 11:40:58 -0700
Hi Joe,
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:4tkhd2hvgdl4e4snij3unckukkdse2ccht@xxxxxxxxxx
By the way, .NET doesn't handle this either. In .NET, you can still
create 20 fonts when
you meant to have only 1. Not even .NET can tell that you intended to
have only 1 font
but didn't know what you were doing.
joe
No, but from what I've seen it doesn't leave them allocated after the
program exits either.
Tom
.
- Follow-Ups:
- Re: What MFC Objects Can't be created on the Stack?
- From: Joseph M . Newcomer
- Re: What MFC Objects Can't be created on the Stack?
- References:
- Re: What MFC Objects Can't be created on the Stack?
- From: Joseph M . Newcomer
- Re: What MFC Objects Can't be created on the Stack?
- From: Peter Olcott
- Re: What MFC Objects Can't be created on the Stack?
- From: Joseph M . Newcomer
- Re: What MFC Objects Can't be created on the Stack?
- From: Peter Olcott
- Re: What MFC Objects Can't be created on the Stack?
- From: Joseph M . Newcomer
- Re: What MFC Objects Can't be created on the Stack?
- Prev by Date: Re: What MFC Objects Can't be created on the Stack?
- Next by Date: Re: What MFC Objects Can't be created on the Stack?
- Previous by thread: Re: What MFC Objects Can't be created on the Stack?
- Next by thread: Re: What MFC Objects Can't be created on the Stack?
- Index(es):
Relevant Pages
|