By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,459 Members | 1,316 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,459 IT Pros & Developers. It's quick & easy.

reading a .docx file

P: 23
Hi can some one help me how to read a .docx file and stored into memory in c++.

Thanks
Nov 8 '08 #1
Share this Question
Share on Google+
3 Replies


Banfa
Expert Mod 5K+
P: 8,916
Apparently a docx is a zipped xml file. You should be able to unzip the file and then read it with an XML parser like Xerces.
Nov 8 '08 #2

Expert 10K+
P: 11,448
Apparently a docx is a zipped xml file. You should be able to unzip the file and then read it with an XML parser like Xerces.
I just tried it (I have Microsoft Word 2007) but my winzip didn't recognize the
file as a zip file (maybe I did something wrong). It sort of doesn't surprise me
because Microsoft manages to come up with another secret file format only
they can manipulate. This happens every other year or so ;-)

kind regards,

Jos
Nov 8 '08 #3

100+
P: 687
wrt your problem with particular .docx extension - do you try to do it in dos box using some dos compiler like turbo c? There ain't no such thing as a 4-letter extension in dos box...
Nov 9 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.