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. ATL / WTL / STL
  4. ATL ActiveX destructor not called

ATL ActiveX destructor not called

Scheduled Pinned Locked Moved ATL / WTL / STL
csharpc++visual-studiocomquestion
7 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
    TClarke
    wrote on last edited by
    #1

    Hi all, Can anyone explain to me why when IE7 is shut down my control's destructor is not called? Thanks Tom I'm using: VS.NET 2003, XP SP1, ATL, IE7

    Philosophy: The art of never getting beyond the concept of life.

    P 1 Reply Last reply
    0
    • T TClarke

      Hi all, Can anyone explain to me why when IE7 is shut down my control's destructor is not called? Thanks Tom I'm using: VS.NET 2003, XP SP1, ATL, IE7

      Philosophy: The art of never getting beyond the concept of life.

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      What type of control it is ? I mean is it BHO ? I remmember similar porblem(not in IE), when in client I forgot to release control.

      Prasad Notifier using ATL | Operator new[],delete[][^]

      T 1 Reply Last reply
      0
      • P prasad_som

        What type of control it is ? I mean is it BHO ? I remmember similar porblem(not in IE), when in client I forgot to release control.

        Prasad Notifier using ATL | Operator new[],delete[][^]

        T Offline
        T Offline
        TClarke
        wrote on last edited by
        #3

        Hi Prasad, thanks for the response. My control is a windowless ActiveX control embedded in a web page. Tom

        Philosophy: The art of never getting beyond the concept of life.

        P 1 Reply Last reply
        0
        • T TClarke

          Hi Prasad, thanks for the response. My control is a windowless ActiveX control embedded in a web page. Tom

          Philosophy: The art of never getting beyond the concept of life.

          P Offline
          P Offline
          prasad_som
          wrote on last edited by
          #4

          Haven't used control anytime that way. But, just a guess, if you needed to access control interface, then have you released it ?

          Prasad Notifier using ATL | Operator new[],delete[][^]

          T 1 Reply Last reply
          0
          • P prasad_som

            Haven't used control anytime that way. But, just a guess, if you needed to access control interface, then have you released it ?

            Prasad Notifier using ATL | Operator new[],delete[][^]

            T Offline
            T Offline
            TClarke
            wrote on last edited by
            #5

            I'll have to look into that. There might be something wrong at the core. It's an old control, not originally created by me.

            Philosophy: The art of never getting beyond the concept of life.

            P 1 Reply Last reply
            0
            • T TClarke

              I'll have to look into that. There might be something wrong at the core. It's an old control, not originally created by me.

              Philosophy: The art of never getting beyond the concept of life.

              P Offline
              P Offline
              prasad_som
              wrote on last edited by
              #6

              Yes, it seems , control is never released.

              Prasad Notifier using ATL | Operator new[],delete[][^]

              T 1 Reply Last reply
              0
              • P prasad_som

                Yes, it seems , control is never released.

                Prasad Notifier using ATL | Operator new[],delete[][^]

                T Offline
                T Offline
                TClarke
                wrote on last edited by
                #7

                Thanks I'll post if I find any thing useful. Tom

                Philosophy: The art of never getting beyond the concept of life.

                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