자네, 이제 슬슬 먹고 살아야 할 걱정을 해야 할 때가 아닌가? 어억... 이상하게 이미지랑 매칭되네.. ㅈㅅㅈㅅ
by lipprince

[MSDN - VC6.0] DECLARE_DYNCREATE
 

DECLARE_DYNCREATE

DECLARE_DYNCREATE( class_name )

Parameters

class_name

The actual name of the class (not enclosed in quotation marks).

Remarks

Use the DECLARE_DYNCREATE macro to enable objects of CObject-derived classes to be created dynamically at run time. The framework uses this ability to create new objects dynamically, for example, when it reads an object from disk during serialization. Document, view, and frame classes should support dynamic creation because the framework needs to create them dynamically.

Add the DECLARE_DYNCREATE macro in the .H module for the class, then include that module in all .CPP modules that need access to objects of this class.

If DECLARE_DYNCREATE is included in the class declaration, then IMPLEMENT_DYNCREATE must be included in the class implementation.

For more information on the DECLARE_DYNCREATE macro, seeCObject Class Topics in Visual C++ Programmer’s Guide.

Example

See the example for IMPLEMENT_DYNCREATE.

See Also   DECLARE_DYNAMIC, IMPLEMENT_DYNAMIC, IMPLEMENT_DYNCREATE, RUNTIME_CLASS, CObject::IsKindOf

by mindgear | 2008/04/22 17:45 | MSDN | 트랙백
트랙백 주소 : http://lipprince.egloos.com/tb/267064
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
※ 로그인 사용자만 덧글을 남길 수 있습니다.
◀ 이전 페이지 다음 페이지 ▶
카테고리
잡다한 일상
Project
MFC
API
MSDN
Python
Tool
기타등등

최근 등록된 덧글

최근 등록된 트랙백

이전 블로그
more...

이글루 링크


rss

skin by black