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. Problem while Running the Application in Release Configuration

Problem while Running the Application in Release Configuration

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++comdebuggingannouncement
3 Posts 3 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 Offline
    S Offline
    ss431
    wrote on last edited by
    #1

    Hi All, Please help me to solve my problem. I've an MFC ActiveX control(.OCX) and i created this control in one of my Extension Dll's View class(derived from CView).This view has been placed in the SDI Splitter window application as one of the view.Every thing is working fine but when i close the Application window i'm getting the Assertion in "Release" Configuration but the assertion is not in "Debug" configuration.when i check with message boxes ,all the destructors are called in order. After all destructors completed i'm getting Assertion. Can any one give me the Solution for my problem. Thanks in Advance.

    C O 2 Replies Last reply
    0
    • S ss431

      Hi All, Please help me to solve my problem. I've an MFC ActiveX control(.OCX) and i created this control in one of my Extension Dll's View class(derived from CView).This view has been placed in the SDI Splitter window application as one of the view.Every thing is working fine but when i close the Application window i'm getting the Assertion in "Release" Configuration but the assertion is not in "Debug" configuration.when i check with message boxes ,all the destructors are called in order. After all destructors completed i'm getting Assertion. Can any one give me the Solution for my problem. Thanks in Advance.

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      This article[^] might help.


      Cédric Moonen Software developer
      Charting control [v1.2]

      1 Reply Last reply
      0
      • S ss431

        Hi All, Please help me to solve my problem. I've an MFC ActiveX control(.OCX) and i created this control in one of my Extension Dll's View class(derived from CView).This view has been placed in the SDI Splitter window application as one of the view.Every thing is working fine but when i close the Application window i'm getting the Assertion in "Release" Configuration but the assertion is not in "Debug" configuration.when i check with message boxes ,all the destructors are called in order. After all destructors completed i'm getting Assertion. Can any one give me the Solution for my problem. Thanks in Advance.

        O Offline
        O Offline
        only coder
        wrote on last edited by
        #3

        You can use AfxMessageBox function to deflate the error code.

        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