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. The Lounge
  3. Neat Error message

Neat Error message

Scheduled Pinned Locked Moved The Lounge
help
16 Posts 10 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.
  • G Offline
    G Offline
    greba
    wrote on last edited by
    #1

    Got this "error" message when I was rearranging some code: error C2086: 'valid' : redefinition Greba

    D V T L 4 Replies Last reply
    0
    • G greba

      Got this "error" message when I was rearranging some code: error C2086: 'valid' : redefinition Greba

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      Do you want a strange message? C2521 "destructors do not take arguments" C2230 "'function' : a member function of a managed class cannot return a non-managed class or struct 'user-defined type' unless it is an aggregate" In plain English: "Your managed type returns another that have a virtual destructor". You can do it on anything you choose - from .bat to .net - A customer

      J 1 Reply Last reply
      0
      • G greba

        Got this "error" message when I was rearranging some code: error C2086: 'valid' : redefinition Greba

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #3

        "Pure virtual function call" from MSIE. :omg: "The system has recovered from an undetected error" from Windows. This is my favorite- if the error was undetected, how did it know there's an error? (Never mind how it recovered). :confused: If the links don't work, use RClick-Save target as: http://www.geocities.com/vpunathambekar/assertfail_in_game.jpg Not an error per se: http://www.geocities.com/vpunathambekar/minus_one_percent.jpg http://www.geocities.com/vpunathambekar/crazy.jpg Uff! That was long. :rolleyes: Vikram.


        You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

        N B M 3 Replies Last reply
        0
        • D Daniel Turini

          Do you want a strange message? C2521 "destructors do not take arguments" C2230 "'function' : a member function of a managed class cannot return a non-managed class or struct 'user-defined type' unless it is an aggregate" In plain English: "Your managed type returns another that have a virtual destructor". You can do it on anything you choose - from .bat to .net - A customer

          J Offline
          J Offline
          J Dunlap
          wrote on last edited by
          #4

          Daniel Turini wrote: "destructors do not take arguments" :laugh: :laugh:

          "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
          "You must be the change you wish to see in the world." - Mahatma Gandhi

          1 Reply Last reply
          0
          • V Vikram A Punathambekar

            "Pure virtual function call" from MSIE. :omg: "The system has recovered from an undetected error" from Windows. This is my favorite- if the error was undetected, how did it know there's an error? (Never mind how it recovered). :confused: If the links don't work, use RClick-Save target as: http://www.geocities.com/vpunathambekar/assertfail_in_game.jpg Not an error per se: http://www.geocities.com/vpunathambekar/minus_one_percent.jpg http://www.geocities.com/vpunathambekar/crazy.jpg Uff! That was long. :rolleyes: Vikram.


            You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

            N Offline
            N Offline
            Navin
            wrote on last edited by
            #5

            Vikram Punathambekar wrote: "The system has recovered from an undetected error" from Windows. This is my favorite- if the error was undetected, how did it know there's an error? (Never mind how it recovered). I'm sure the code to trap that error is something like..

            try
            {
              .. code that cuases the error
            }
            catch(...)
            {
              MessageBox("The system has recovered from an undetected error");
            }
            

            :-D If your nose runs and your feet smell, then you're built upside down.

            V 1 Reply Last reply
            0
            • V Vikram A Punathambekar

              "Pure virtual function call" from MSIE. :omg: "The system has recovered from an undetected error" from Windows. This is my favorite- if the error was undetected, how did it know there's an error? (Never mind how it recovered). :confused: If the links don't work, use RClick-Save target as: http://www.geocities.com/vpunathambekar/assertfail_in_game.jpg Not an error per se: http://www.geocities.com/vpunathambekar/minus_one_percent.jpg http://www.geocities.com/vpunathambekar/crazy.jpg Uff! That was long. :rolleyes: Vikram.


              You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

              B Offline
              B Offline
              Brad Bruce
              wrote on last edited by
              #6

              I noticed the icon in the first link. "Upgrating" ...

              V 1 Reply Last reply
              0
              • G greba

                Got this "error" message when I was rearranging some code: error C2086: 'valid' : redefinition Greba

                T Offline
                T Offline
                Tomas Petricek
                wrote on last edited by
                #7

                I got this message box[^] from Outlook. :omg: I realy don't know what this means.. i'm only pointer to myself

                J 1 Reply Last reply
                0
                • T Tomas Petricek

                  I got this message box[^] from Outlook. :omg: I realy don't know what this means.. i'm only pointer to myself

                  J Offline
                  J Offline
                  J Dunlap
                  wrote on last edited by
                  #8

                  I think it was meant to say "Outlook experienced a serious error the last time the addin 'addinname' was loaded. Do you want to remove this addin from the startup list? " or something like that, but something went wrong, possibly something like a \0 in the addin's name.

                  "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                  "You must be the change you wish to see in the world." - Mahatma Gandhi

                  T 1 Reply Last reply
                  0
                  • J J Dunlap

                    I think it was meant to say "Outlook experienced a serious error the last time the addin 'addinname' was loaded. Do you want to remove this addin from the startup list? " or something like that, but something went wrong, possibly something like a \0 in the addin's name.

                    "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                    "You must be the change you wish to see in the world." - Mahatma Gandhi

                    T Offline
                    T Offline
                    Tomas Petricek
                    wrote on last edited by
                    #9

                    Maybe, but problem is, that I never installed any outlook addin... :~ At least I don't know about it... i'm only pointer to myself

                    N 1 Reply Last reply
                    0
                    • N Navin

                      Vikram Punathambekar wrote: "The system has recovered from an undetected error" from Windows. This is my favorite- if the error was undetected, how did it know there's an error? (Never mind how it recovered). I'm sure the code to trap that error is something like..

                      try
                      {
                        .. code that cuases the error
                      }
                      catch(...)
                      {
                        MessageBox("The system has recovered from an undetected error");
                      }
                      

                      :-D If your nose runs and your feet smell, then you're built upside down.

                      V Offline
                      V Offline
                      Vikram A Punathambekar
                      wrote on last edited by
                      #10

                      :stunned silence: Not sure how I should react... :~ Vikram.


                      You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                      N 1 Reply Last reply
                      0
                      • B Brad Bruce

                        I noticed the icon in the first link. "Upgrating" ...

                        V Offline
                        V Offline
                        Vikram A Punathambekar
                        wrote on last edited by
                        #11

                        :rolleyes: You can find that here: http://www.geocities.com/vpunathambekar/upgrating.jpg (try right-click -> save as) Vikram.


                        You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                        1 Reply Last reply
                        0
                        • V Vikram A Punathambekar

                          :stunned silence: Not sure how I should react... :~ Vikram.


                          You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                          N Offline
                          N Offline
                          Nnamdi Onyeyiri
                          wrote on last edited by
                          #12

                          let me help you out there......":rolleyes:"


                          To those who didn't make it, we will remember you. To those who did :bob: is back. - Megan Forbes in Black Friday
                          Another Post by NnamdiOnyeyiri

                          1 Reply Last reply
                          0
                          • T Tomas Petricek

                            Maybe, but problem is, that I never installed any outlook addin... :~ At least I don't know about it... i'm only pointer to myself

                            N Offline
                            N Offline
                            Nnamdi Onyeyiri
                            wrote on last edited by
                            #13

                            Tomas Petricek wrote: Maybe, but problem is, that I never installed any outlook addin... :~ At least I don't know about it... :suss:


                            To those who didn't make it, we will remember you. To those who did :bob: is back. - Megan Forbes in Black Friday
                            Another Post by NnamdiOnyeyiri

                            1 Reply Last reply
                            0
                            • G greba

                              Got this "error" message when I was rearranging some code: error C2086: 'valid' : redefinition Greba

                              L Offline
                              L Offline
                              leppie
                              wrote on last edited by
                              #14

                              error C2064: term does not evaluate to a function taking 26386312 arguments leppie::AllocCPArticle("Zee blog");
                              Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

                              J 1 Reply Last reply
                              0
                              • L leppie

                                error C2064: term does not evaluate to a function taking 26386312 arguments leppie::AllocCPArticle("Zee blog");
                                Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

                                J Offline
                                J Offline
                                J Dunlap
                                wrote on last edited by
                                #15

                                :omg: :laugh: :rolleyes:

                                "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                                "You must be the change you wish to see in the world." - Mahatma Gandhi

                                1 Reply Last reply
                                0
                                • V Vikram A Punathambekar

                                  "Pure virtual function call" from MSIE. :omg: "The system has recovered from an undetected error" from Windows. This is my favorite- if the error was undetected, how did it know there's an error? (Never mind how it recovered). :confused: If the links don't work, use RClick-Save target as: http://www.geocities.com/vpunathambekar/assertfail_in_game.jpg Not an error per se: http://www.geocities.com/vpunathambekar/minus_one_percent.jpg http://www.geocities.com/vpunathambekar/crazy.jpg Uff! That was long. :rolleyes: Vikram.


                                  You must be the change you wish to see in this world- Mahatma Gandhi. KI klike KDE kand kuse kit, kbut KI kmust kadmit, kstarting kall knames kwith K kis ksilly. KI khope kthey kwill kgive kup kthis kwhole kscheme ksoon kand kcome kup kwith kreal knames. pI vThink aHungarian nNotation vIs iA aWonderful nThing cAnd pEveryone avShould vUse pIt aAll dThe nTime, adNo nMatter pWhat dThe nContext, adEven adWhen vSpeaking.

                                  M Offline
                                  M Offline
                                  Mike Dimmick
                                  wrote on last edited by
                                  #16

                                  Vikram Punathambekar wrote: "Pure virtual function call" from MSIE. When constructing a class, the compiler first calls the constructors of the base classes. If the programmer calls a pure virtual function within the constructor (or destructor), the compiler can detect this and gives an error. However, the compiler can't detect it if a function called by the constructor in another translation unit calls the pure virtual function. To catch this case, the appropriate vtable entry is filled in with a pointer to a C++ runtime function that produces that error message. MS could have set it to 0 instead, which would have caused an immediate access violation. Correctly speaking, the vtable should be constructed (i.e. the object's vptr set to the appropriate vtable) after initialising all the base classes but before initialising the member variables in the member-initialiser list. VC 6.0 gets it wrong and sets the vptr after the member-initialiser list but still before the body of the constructor. I've seen this in a few apps other than IE, and I seem to recall doing it myself once...

                                  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