Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
Debugging ContextMenuExtensions with ACAD 2007 & VB.NET 2005
Debugging ContextMenuExtensions with ACAD 2007 & VB.NET 2005
When I netload the EventsWatcher sample include with ObjectARX in debug mode it throws an InvalidOperationException when it trys to add in a context menu extension :
If I run from outside of VS.NET, it works file. Is there some VS.NET 2005 or ACAD 2007 configuration option that I need to set to allow me to debug applications that utilize a default context menu extension?
Not sure if this helps but......
Are you using the right version of Object ARX?
Are you referencing the correct acdbmgd.dll and acmgd.dll for AutoCAD 2007?
Autodesk stated that they broke binary compatibility between v2006 & v2007 so this would be my starting point...
Is the code in which you create the context menu
extension called in the Application context ?
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
wrote in message news:5127401@discussion.autodesk.com...
When I netload the EventsWatcher sample include with ObjectARX in debug mode it throws an InvalidOperationException when it trys to add in a context menu extension :
If I run from outside of VS.NET, it works file. Is there some VS.NET 2005 or ACAD 2007 configuration option that I need to set to allow me to debug applications that utilize a default context menu extension?
I'm using an unmodifed version of the EventWatcher example that is suppiled part of the ObjectARX 2007 SDK. The main application class extends IExtensionApplication and the DefaultContextMenuExtension is added by a static method call that is part of a seperate static class.
Initialize() invokes DefaultContextMenu.AddMe() which creates a ContextMenuExtension and then calls Application.AddDefaultContextMenuExtension(s_cme).