OLE control
OLE Automation
Asynchoronous Moniker
=> Automation, ActiveX control, ActiveX Document, ActiveX scripting
Interface
- virtual fuction table 형태의 memory 구조를 정의할 수 있으면, COM Interface를 정의할 수 있다.
- __stdcall 규약 : Pascal calling convention (COM 은 Pascal 호출규약을 사용한다.)
- Interface 는 pure virtual method을 정의하는 parent class는 VTBL 의 pointer만을 저장: 상속받은 class에서 member를 정의해야 VTBL 구조가 생성되고 VTBL에 실제 method의 function pointer들이 저장된다.
- Interface Pointer (virtual function table pointer)
- Interface function pointer (or VTBL : Interface pointer가 가리키는 function pointer table)
- COM interface memory structure == abstract class memory structure by C++ compiler
Ojbect Oriented
IDL & MIDL compiler
(c)copyright 2002-2007 jiinny