CrazyEngineers
  • Manipulating .doc files using c++

    Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK
    Updated: Oct 21, 2024
    Views: 889
    Is there anyway to manipulate .doc files using c++ ? Need some help here... 😒
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Kaustubh Katdare

    AdministratorNov 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-#
    Are you sure? This action cannot be undone.
    Cancel
  • Vishal Sharma

    MemberNov 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?
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register