Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MSWord com add-in problem

MSWord com add-in problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comdebuggingquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tarek Jabri
    wrote on last edited by
    #1

    Hi i developed a com addin for msword in MFC i have done the registration issues for it ,and i added a menu item for invoking the addin functionality , so it is registered and working properly for a NEW word document. the problem occurs when i OPEN an already saved word document, when i click the menu item the famous error message appears "Microsoft office word has encountered a problem and needs to close, we are sorry for the inconvience" when i work on a new word document i can attach to the word process and debug, but when i work on an opened word document i can attach but the break points are not active can anyone give me any hint?? thanks alot

    C 1 Reply Last reply
    0
    • T Tarek Jabri

      Hi i developed a com addin for msword in MFC i have done the registration issues for it ,and i added a menu item for invoking the addin functionality , so it is registered and working properly for a NEW word document. the problem occurs when i OPEN an already saved word document, when i click the menu item the famous error message appears "Microsoft office word has encountered a problem and needs to close, we are sorry for the inconvience" when i work on a new word document i can attach to the word process and debug, but when i work on an opened word document i can attach but the break points are not active can anyone give me any hint?? thanks alot

      C Offline
      C Offline
      chandu004
      wrote on last edited by
      #2

      one simple golden rule: but iam not sure weather it suits for ur application. if break points are getting disabled, then use some message boxes to localise the problem. just try it. you can even redirect the log to a file and observe it offline.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups