摘要:
第一步:KSDLL2.idl文件中 dispinterface _DKSDLL2 { properties: methods: [id(1)] void CheckIt(); [id(2)] BSTR GetIt(); };第二步:KSDLL2Ctrl.h文件中protected: void CheckIt(void); BSTR GetIt();第三步:KSDLL2Ctrl.cpp文件中// 调度映射BEGIN_DISPATCH_MAP(CKSDLL2Ctrl, COleControl) DISP_FUNCTION_ID(CKSDLL2Ctrl, "CheckIt", d 阅读全文
posted @ 2013-01-04 16:56
liulun
阅读(6834)
评论(2)
推荐(1)

浙公网安备 33010602011771号