Urgency! Pls Help!

F

Flex

I want generate a MSWORD .Doc File in my application,
because the platform the app run may not have a ms-word installed,so I do
not want to use OLE Automation,
I think maybe I can archieve this by directly write MS-WORD format binary
data into a file with .doc post-fix.
after searched in internet,I found a word97 docfile format description and
without any example code,
in it's start read:
"Word 97 is an OLE 2.0 application. A Word binary file is a docfile and Word
binary data is written into streams within the docfile using the OLE 2.0
docfile APIs. These streams are stored in the file as linked lists of file
blocks and this data cannot be reliably accessed by using the operating
system Open APIs. To access data within a Word binary file, the file must be
opened using the OLE 2.0 docfile APIs, and it must be read with the
appropriate docfile APIs."

My question is:

what is a "OLE 2.0 docfile App"? how can I use it in my MFC APP? Does it
still need Ms-word installed?

Any Code piece will be appreciate.

Advance thank.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top