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. ActiveX Control Debug version problem

ActiveX Control Debug version problem

Scheduled Pinned Locked Moved C / C++ / MFC
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
    Andrew Hoole
    wrote on last edited by
    #1

    Hi I hope I'm in the right group here. I am trying to develop an ActiveX control but whenever I compile a debug version of it I am unable to include it in another application. It always gives an error claiming an exception has occurred in ctlnownd.cpp line 443(if I remember correctly). The release version of this control works fine. I am using VC++ 6 with I think the latest patches although I haven't checked for a while. Any ideas why this happens and if it can be corrected. Many thanks Andrew

    C 1 Reply Last reply
    0
    • A Andrew Hoole

      Hi I hope I'm in the right group here. I am trying to develop an ActiveX control but whenever I compile a debug version of it I am unable to include it in another application. It always gives an error claiming an exception has occurred in ctlnownd.cpp line 443(if I remember correctly). The release version of this control works fine. I am using VC++ 6 with I think the latest patches although I haven't checked for a while. Any ideas why this happens and if it can be corrected. Many thanks Andrew

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

      Can you post some code around the point where your program crashes ? It is also very usefull to use your debugger. Watch the callstack to see which of your function causes the crash.


      Cédric Moonen Software developer
      Charting control

      A 1 Reply Last reply
      0
      • C Cedric Moonen

        Can you post some code around the point where your program crashes ? It is also very usefull to use your debugger. Watch the callstack to see which of your function causes the crash.


        Cédric Moonen Software developer
        Charting control

        A Offline
        A Offline
        Andrew Hoole
        wrote on last edited by
        #3

        My program doesn't really crash. It compiles fine, works fine in the ActiveX Control Test Container but whenever I try place it in another application , be that a Powerpoint slide another VC++ MFC dialog application then it causes an exception in ctlnownd.cpp when you try to place the object in the application. I have kind of read on the web that this is a known problem but no one seems to say whether there is a solution to it. Without being able to include the debug version is another app it is proving very hard to debug it. Thanks for any advice you may be able to give. Andrew

        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