COM 썸네일형 리스트형 INTERFACE #include #include using namespace std; //define interface struct //IUnknwon //모든 COM 컴포넌트가 상속 받아야 할 interface !! interface A { }; interface IUnknown { //interface 얻어오기!! virtural HRESULT __stdcall QueryInterface(REFIID riid, void ** ppv)=0; //개체 참조 카운트 증가 !! virtual ULONG __stdcall AddRef()==0; //개체 참조 카운트 감소!! virtual ULONG __stdcall Release()==0; }; void main() { } 더보기 이전 1 다음