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. Crash when Clist is Destroyed in Vista

Crash when Clist is Destroyed in Vista

Scheduled Pinned Locked Moved C / C++ / MFC
collaborationhelp
11 Posts 4 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.
  • S Shaileshhex

    Hi All, I have a application developed in VS2005(MFC80).It uses a dll which is developed in VS2003(MFC71).This dll has a CList<> which crashes at the point when it is destroyed i.e when the destructor is called for the CList. This happens when i run my application on Vista OS. One Solution for the above problem is that I port the dll to VS2005.I tried porting the dll . It works fine without any crashes, but this solution is not feasible for my team. Can anyone suggest any other solution to the above problem. Thanks Shailesh

    CPalliniC Offline
    CPalliniC Offline
    CPallini
    wrote on last edited by
    #2

    Shaileshhex wrote:

    One Solution for the above problem is that I port the dll to VS2005.I tried porting the dll . It works fine without any crashes, but this solution is not feasible for my team.

    Shaileshhex wrote:

    Can anyone suggest any other solution to the above problem.

    Port your team to 2008. :-D

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    In testa che avete, signor di Ceprano?

    K 1 Reply Last reply
    0
    • CPalliniC CPallini

      Shaileshhex wrote:

      One Solution for the above problem is that I port the dll to VS2005.I tried porting the dll . It works fine without any crashes, but this solution is not feasible for my team.

      Shaileshhex wrote:

      Can anyone suggest any other solution to the above problem.

      Port your team to 2008. :-D

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #3

      :laugh: :laugh: :laugh:

      Greetings from Germany

      S 1 Reply Last reply
      0
      • K KarstenK

        :laugh: :laugh: :laugh:

        Greetings from Germany

        S Offline
        S Offline
        Shaileshhex
        wrote on last edited by
        #4

        I need some answers friend!

        CPalliniC R 2 Replies Last reply
        0
        • S Shaileshhex

          I need some answers friend!

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #5

          I think the debugger is your best friend. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          In testa che avete, signor di Ceprano?

          1 Reply Last reply
          0
          • S Shaileshhex

            Hi All, I have a application developed in VS2005(MFC80).It uses a dll which is developed in VS2003(MFC71).This dll has a CList<> which crashes at the point when it is destroyed i.e when the destructor is called for the CList. This happens when i run my application on Vista OS. One Solution for the above problem is that I port the dll to VS2005.I tried porting the dll . It works fine without any crashes, but this solution is not feasible for my team. Can anyone suggest any other solution to the above problem. Thanks Shailesh

            K Offline
            K Offline
            KarstenK
            wrote on last edited by
            #6

            You havent wrote what is in the CList? :omg:

            Greetings from Germany

            S 1 Reply Last reply
            0
            • S Shaileshhex

              I need some answers friend!

              R Offline
              R Offline
              Rajesh R Subramanian
              wrote on last edited by
              #7

              Why not try debugging? Why not show us the code so that we don't need to waste our telepathic powers on this?

              It is a crappy thing, but it's life -^ Carlo Pallini

              1 Reply Last reply
              0
              • K KarstenK

                You havent wrote what is in the CList? :omg:

                Greetings from Germany

                S Offline
                S Offline
                Shaileshhex
                wrote on last edited by
                #8

                Clist is declared as typedef CList _lllist; thanks :)

                S 1 Reply Last reply
                0
                • S Shaileshhex

                  Clist is declared as typedef CList _lllist; thanks :)

                  S Offline
                  S Offline
                  Shaileshhex
                  wrote on last edited by
                  #9

                  Clist is declared as typedef CList _lllist;

                  S 1 Reply Last reply
                  0
                  • S Shaileshhex

                    Clist is declared as typedef CList _lllist;

                    S Offline
                    S Offline
                    Shaileshhex
                    wrote on last edited by
                    #10

                    Clist is declared as typedef CList _lllist;

                    K 1 Reply Last reply
                    0
                    • S Shaileshhex

                      Clist is declared as typedef CList _lllist;

                      K Offline
                      K Offline
                      KarstenK
                      wrote on last edited by
                      #11

                      and what is the "userdefinedtype" in your case? Check the destructor of it.:~

                      Greetings from Germany

                      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