佚名通过本文主要向大家介绍了atl34砂轮,atl方形动力电池,atl80.dll官方下载,atl71.dll一键修复,atl71.dll修复等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 菜鸟请教一个关于atl的问题
描述:
解决方案1:
描述:
具体问题就是atl中如何启动一个word服务器?
我想在一个函数中调用word接口。但是找不到IDispatch来启动 _application对象。
找到的两个例子,一个是mfc的,另一个是addin,都可以获得IDispatch指针。
但是普通的atl方法应该怎么得到IDispatch的指针啊!!!
我是菜鸟,希望有人指点一下。
谢谢!!!
解决方案1:
http://support.microsoft.com/kb/q196135/
How To Create an Automation Client Project Using ATL
The following section illustrates how you can create an ATL client EXE project that automates Microsoft Excel. same as the word automation.
我想 queryinterface可以吧?
你有对象指针吗?有IDispatch的GUID吗?有的话就调用……