Manipulating .doc files using c++

Vishal Sharma

Vishal Sharma

@vishal-pysGmK Oct 21, 2024
Is there anyway to manipulate .doc files using c++ ? Need some help here... 😒

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Nov 8, 2012

    It's always better to write question in detail so that it's easier to offer help. So, are you simply trying to create, edit a .doc files using C++ code or you want to perform more complex options? If the .Doc file is text only, you could simply convert it into RTF or .txt and then manipulate it. Here's what Microsoft says about it on: Source: #-Link-Snipped-#

    There are three basic ways you can use Automation: MFC, #import, and C/C++:
    C/C++ Automation is much more difficult, but sometimes necessary to avoid overhead with MFC, or problems with #import. Basically, you work with such APIs as CoCreateInstance(), and COM interfaces such as IDispatch and IUnknown.
    You may even refer to this post by Joel: #-Link-Snipped-#
  • Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK Nov 8, 2012

    I've seen the link before but i think it is only for Visual C++.
    I have to perform complex things..
    I use DEV C++ , does LibreOffice files support this kind of manipulation?