Create Microsoft Word document from C++ in Visual Studio 2005

Michael picture Michael · Jun 23, 2009 · Viewed 8.4k times · Source

We got a homework assignment to create a Microsoft Word document using Visual Studio 2005 and C++. Could anyone explain how this could be done. I was trying to do it using VSTO, but I've had no luck. All resources on the internet I could find explain how this could be done in VB or C#, but I need some C++ examples. Thanks

EDIT: Accepted format is .doc.

Answer