Re: Why Dynamic Class is required?
From: Joseph M. Newcomer (newcomer_at_flounder.com)
Date: 02/24/04
- Next message: Joseph M. Newcomer: "Re: Create Registry key under HKEY_LOCAL_MACHINE in XP"
- Previous message: Joseph M. Newcomer: "Re: Array Manipln"
- In reply to: Debasish Pramanik: "Why Dynamic Class is required?"
- Next in thread: gangadhar npk: "Re: Why Dynamic Class is required?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 24 Feb 2004 12:05:54 -0500
Well, creating an instance of the class at compile time doesn't do much good, since you
probably aren't running your app from the compiler. Sort of like the question
a = b + c;
\why isn't the arithmetic done at compile time?
joe
On Tue, 24 Feb 2004 15:36:59 +0530, "Debasish Pramanik" <debasish.pramanik@assetlink.com>
wrote:
>Dear All,
>
>In InitInstance for a SDI application we use code such as
>
>CSingleDocTemplate *pDoc =
>
>new CSingleDocTemplate(0,
>RUNTIME_CLASS(CMYDoc),
>RUNTIME_CLASS(CMYFrameWnd),
>RUNTIME_CLASS(CMYView));
>
>Why to create the objects at runtime why not at compile time?
>
>Regards,
>Debasish Pramanik
>
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
- Next message: Joseph M. Newcomer: "Re: Create Registry key under HKEY_LOCAL_MACHINE in XP"
- Previous message: Joseph M. Newcomer: "Re: Array Manipln"
- In reply to: Debasish Pramanik: "Why Dynamic Class is required?"
- Next in thread: gangadhar npk: "Re: Why Dynamic Class is required?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|