Comç»�件æ��æ�¯å��京å&curre

Comç»�件æ��æ�¯å��京å&curre -...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
COM COM 开开 开开 开开开 2002-11-15 http://www.icst.pku.edu.cn/CompCourse
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
开开 开开 Win32 SDK MFC 和和 MFC COM 和和和 MFC 和和 COM 和和 ATL COM 和和和 ATL 和和 COM 和和 和和和和
Background image of page 2
Win32 SDK Win32 SDK Windows Windows 开开开开 开开开开 和和和和 WinMain 和和和和和 和和和和和和和和和 和和和和和和 和和和和和和
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Win32 SDK Win32 SDK COM COM 开开开 开开开 Win32 SDK 和和 COM 和和和和和和 Win32 SDK 开 开 开 开 开 开 开 开 开 开 开 开 开 开 开 开 Unknwn.h 开 开 开 开 IUnknown 开 IClassFactory 开 IID 开 开 开 开 开 开 开 开 开 开 开 Wtypes.h 开 开 开 COM 开 开 开 开 开 开 开 开 开 开 开 Objidl.h 开 开 开 开 开 开 开 开 开 开 开 开 开 开 C 开 开 开 开 开 开 开 开 开 开 开 开 C++开 开 开 开 开 开 开 开 Comdef.h 开 开 开 开 开 开 开 开 COM 开 OLE 开 开 开 开 开 CLSID开 ObjBase.h 开 开 开 COM API 开 开 开 开 开 开 Ole2.h 开 开 开 开 开 开 开 OLE 开 开 开 开 开
Background image of page 4
开开开开开开开 开开开开开开开 DECLARE_INTERFACE_(IClassFactory, IUnknown) { STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE; STDMETHOD_(ULONG,AddRef) (THIS) PURE; STDMETHOD_(ULONG,Release) (THIS) PURE; STDMETHOD(CreateInstance) (THIS_ LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR* ppvObject) PURE; STDMETHOD(LockServer)(THIS_ BOOL fLock) PURE; };
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
VC VC 开开开开开开开开开开开 开开开开开开开开开开开 COM 开 开 开 开 开 开 开 开 开 开 开 开 开 DECLARE_INTERFACE(iface) 开 开 开 开 iface开 开 开 开 开 开 开 开 开 开 开 开 DECLARE_INTERFACE_( iface, baseiface) 开 开 开 开 iface开 开 开 开 开 baseiface 开 开 开 STDMETHOD(method) 开 开 开 开 开 开 开 开 method开 开 开 开 开 开 开 开 HRESULT开 STDMETHOD_(type,method) 开 开 开 开 开 开 开 开 method开 开 开 开 开 开 开 开 type开
Background image of page 6
MFC MFC 开开 开开 和和和 AfxGetApp CWinApp::InitInstance CWinApp::ExitInstance CWinApp::OnIdle CWinApp::Run CWnd *m_pMainWnd 和和和 AfxGetMainWnd
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MFC MFC 开开开开开开开 开开开开开开开 ——开开开开开 ——开开开开开 CWnd 和和和和和和和和和和和 DECLARE_MESSAGE_MAP() 和和和和和和和和和和和和和和和和和和 BEGIN_MESSAGE_MAP(theClass, baseClass) ...... END_MESSAGE_MAP
Background image of page 8
开开开开开开开 开开开开开开开 BEGIN_MESSAGE_MAP(theClass, baseClass) //{{AFX_MSG_MAP(theClass) ON_WM_SETFOCUS() ON_WM_CREATE() ON_WM_DESTROY() ON_WM_CLOSE() ON_WM_SIZE() ON_MESSAGE(WM_COMMANDHELP, OnCommandHelp) ON_MESSAGE(WM_HELPHITTEST, OnHelpHitTest) ON_UPDATE_COMMAND_UI(ID_VIEW_STATUS_BAR, OnUpdateControlBarMenu) ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTW, 0, 0xFFFF, OnToolTipText) //}}AFX_MSG_MAP END_MESSAGE_MAP
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
MFC MFC 开开开开 开开开开 和和和和和
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 78

Comç»�件æ��æ�¯å��京å&curre -...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online