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. Runtime Error! - pure virtual function call?

Runtime Error! - pure virtual function call?

Scheduled Pinned Locked Moved C / C++ / MFC
helpdebuggingquestionannouncement
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.
  • A Offline
    A Offline
    Antony M Kancidrowski
    wrote on last edited by
    #1

    Well I never thought it possible but I have a strange problem it appears to be a release problem as I have not seen it in debug. For some reason while using the application I get the following runtime error: Runtime Error! Program: R6025 - pure virtual function call I do not believe that I am calling the pure virtual function from the derived class as I do not get the problem all the time. Does anyone have any suggestions in tracking this down? Ant. I'm hard, yet soft.
    I'm coloured, yet clear.
    I'm fruity and sweet.
    I'm jelly, what am I? Muse on it further, I shall return!
    - David Walliams (Little Britain)

    J 1 Reply Last reply
    0
    • A Antony M Kancidrowski

      Well I never thought it possible but I have a strange problem it appears to be a release problem as I have not seen it in debug. For some reason while using the application I get the following runtime error: Runtime Error! Program: R6025 - pure virtual function call I do not believe that I am calling the pure virtual function from the derived class as I do not get the problem all the time. Does anyone have any suggestions in tracking this down? Ant. I'm hard, yet soft.
      I'm coloured, yet clear.
      I'm fruity and sweet.
      I'm jelly, what am I? Muse on it further, I shall return!
      - David Walliams (Little Britain)

      J Offline
      J Offline
      Jay Carter
      wrote on last edited by
      #2

      Do you have any pure virtual function definitions? The most likely cause is a runtime memory scribble. Something is causing the vtable to be overwritten with rubbish.

      A 1 Reply Last reply
      0
      • J Jay Carter

        Do you have any pure virtual function definitions? The most likely cause is a runtime memory scribble. Something is causing the vtable to be overwritten with rubbish.

        A Offline
        A Offline
        Antony M Kancidrowski
        wrote on last edited by
        #3

        Jay Carter wrote: Do you have any pure virtual function definitions? Yes, quite a few in various classes. Jay Carter wrote: The most likely cause is a runtime memory scribble. Um, I hope this is not the case. Though I do agree with you, it is the most likely cause. Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Walliams (Little Britain)

        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