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. about RUNTIME_CLASS

about RUNTIME_CLASS

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpvisual-studioannouncement
2 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.
  • M Offline
    M Offline
    mt_samiei
    wrote on last edited by
    #1

    Dear All I write one MFC DLL in visual C++ 6 IDE. in this project I have to use one runtime Class like this : RUNTIME_CLASS(CMyLine) I dont instantiate any object from CMyLine Class and use only the RUNTIME version of it in my project. I dont know how this class destroys when I want to exit from application which uses the DLL. When I want to close The application that uses DLL I get following Exception : Unhandled exception in program_name.exe (kernel32.dll): 0xE06D7363 : Microsoft C++ Exception. When I comment the RUNTIME_CLASS line , I dont get any exception. I think that this error is because of exiting from runtime class. If you have any idea to remove this bug please inform me. Regards Monhi

    M 1 Reply Last reply
    0
    • M mt_samiei

      Dear All I write one MFC DLL in visual C++ 6 IDE. in this project I have to use one runtime Class like this : RUNTIME_CLASS(CMyLine) I dont instantiate any object from CMyLine Class and use only the RUNTIME version of it in my project. I dont know how this class destroys when I want to exit from application which uses the DLL. When I want to close The application that uses DLL I get following Exception : Unhandled exception in program_name.exe (kernel32.dll): 0xE06D7363 : Microsoft C++ Exception. When I comment the RUNTIME_CLASS line , I dont get any exception. I think that this error is because of exiting from runtime class. If you have any idea to remove this bug please inform me. Regards Monhi

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      m_monhi wrote:

      RUNTIME_CLASS(CMyLine)

      This is meaningless to us.  How and why are you using this macro? If you don't know what it's for then why are you using it at all? Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      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