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