In AutoCAD 2014, I have two menus that are loaded. One of them I made it myself and the other is from someone else.
There seem to be an incompatibility between the two menus because when I execute a specific command of my menu, I get an error message after the close of AutoCAD.
By "specific command", I mean this :
public static void callCMD(string cParameter)
{
Document doc = AcadApp.DocumentManager.MdiActiveDocument;
Object ActiveDoc = DocumentExtension.GetAcadDocument(doc);
Object[] data = { cParameter };
ActiveDoc.GetType().InvokeMember("SendCommand", System.Reflection.BindingFlags.InvokeMethod, null, ActiveDoc, data);
}
If only my menu is loaded, there is no problem at all. I don't have this problem when using AutoCAD 2015.