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

[MSDN - VC6.0] RUNTIME_CLASS
 

RUNTIME_CLASS

RUNTIME_CLASS( class_name )

Parameters

class_name

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

Remarks

Use this macro to get the run-time class structure from the name of a C++ class.

RUNTIME_CLASS returns a pointer to a CRuntimeClass structure for the class specified by class_name. Only CObject-derived classes declared with DECLARE_DYNAMIC, DECLARE_DYNCREATE, or DECLARE_SERIAL will return pointers to a CRuntimeClass structure.

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

Example

// example for RUNTIME_CLASSCRuntimeClass* prt = RUNTIME_CLASS( CAge );ASSERT( lstrcmp( prt->m_lpszClassName, "CAge" )  == 0 );

See Also   DECLARE_DYNAMIC, DECLARE_DYNCREATE, DECLARE_SERIAL, CObject::GetRuntimeClass, CRuntimeClass

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

최근 등록된 덧글

최근 등록된 트랙백

이전 블로그
more...

이글루 링크


rss

skin by black