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. COM
  4. EXCEPINFO cleanup

EXCEPINFO cleanup

Scheduled Pinned Locked Moved COM
jsonquestion
3 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.
  • J Offline
    J Offline
    jan larsen
    wrote on last edited by
    #1

    I suppose that an EXCEPINFO structure filled by IDispatch::Invoke should be cleared after use. Do I have to do this manually, or is there an API function for this? "God doesn't play dice" - Albert Einstein "God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr

    N 1 Reply Last reply
    0
    • J jan larsen

      I suppose that an EXCEPINFO structure filled by IDispatch::Invoke should be cleared after use. Do I have to do this manually, or is there an API function for this? "God doesn't play dice" - Albert Einstein "God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr

      N Offline
      N Offline
      NiceNaidu fo
      wrote on last edited by
      #2

      In the latest version of VS, EXCEPINFO structure is replaced with EXCEPINFO class. So i don't think we need to manually clear that. Appu.. "If you judge people, you have no time to love them."

      J 1 Reply Last reply
      0
      • N NiceNaidu fo

        In the latest version of VS, EXCEPINFO structure is replaced with EXCEPINFO class. So i don't think we need to manually clear that. Appu.. "If you judge people, you have no time to love them."

        J Offline
        J Offline
        jan larsen
        wrote on last edited by
        #3

        nicenaidu wrote:

        So i don't think we need to manually clear that.

        Except that I'm doing it through the straight C++ IDispatch class :-). No fancy ATL classes or .NET wrappers are going to help me here. "God doesn't play dice" - Albert Einstein "God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr

        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