HOWTO: Use Microsoft Word's CAPI Messaging Interface (CMI) (190057)
The information in this article applies to:
- Microsoft Office XP Developer
- Microsoft Office 2000 Developer
- Microsoft Visual C++, 32-bit Editions 6.0
- Microsoft Visual C++, 32-bit Editions 5.0
- Microsoft Word Developer's Kit 95
- Microsoft Word 97 for Windows
This article was previously published under Q190057 SUMMARY
As an alternative to automation using COM, you can use the CAPI Messaging
Interface (CMI) to control Microsoft Word. CMI uses the same structures and
functions as a Microsoft Word DLL add-in (WLL), but allows cross-process
and asynchronous calls. To use CMI, you should have a copy of the latest
Microsoft Word Developer's Kit (ISBN: 1-55615-880-7), and a 32-bit version
of Microsoft Visual C++. This article lists the steps you need to take to
build a CMI project, and demonstrates using CMI.
REFERENCES
Microsoft Word Developer's Kit: ISBN:1-55615-880-7
For additional information, please see the following
article(s) in the Microsoft Knowledge Base:
183165 What Do the cmiCommandDispatch() Errors Mean?
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbhowto KB190057 |
---|
|