programming 썸네일형 리스트형 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() { } 더보기 객체간 통신 (2) 더보기 객체간 통신 더보기 이전 1 ··· 19 20 21 22 23 24 25 ··· 29 다음