COM
勾吴江南
志异征诛,三让两家王朝;
功同开辟,一桮万古江南。
展开
-
调用COM来实现在最后一个Worksheet后插一个新的Worksheet
// InsertAfterSheets.cpp : Defines the entry point for the console application.//#include "stdafx.h"HRESULT AutoWrap(int autoType, VARIANT *pvResult, IDispatch *pDisp, LPOLESTR ptName, int cArg原创 2012-11-21 18:50:40 · 832 阅读 · 0 评论 -
调用COM接口建立一个AppointmentItem并在Body中添加链接
// Outlook_AddLink.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include HRESULT AutoWrap(int autoType, VARIANT *pvResult, IDispatch *pDisp, LPOLESTR ptName,原创 2012-12-27 18:54:13 · 1028 阅读 · 0 评论 -
调COM向Sheet1的Range("A1")添加内容
// InsertAfterSheets.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include HRESULT AutoWrap(int autoType, VARIANT *pvResult, IDispatch *pDisp, LPOLESTR ptName原创 2013-01-15 11:49:58 · 1092 阅读 · 0 评论