I get the following error when starting 3ds Max to test the plugin I am writing: "A software problem has caused 3ds Max to close unexpectedly." The prompt and the view report details window show no additional information as to where the error occurred exactly.
I read the C++ tutorial and am following the Autodesk tutorial 3ds Max SDK Programmer's Guide and Reference, the Writing .NET Plug-ins part.
How can I get further information on where the error occurred exactly?
Before adding constructors, an instantiation error occurred in the descriptor class:
public class Descriptor : Autodesk.Max.Plugins.ClassDesc2
{
IGlobal global;
public IGlobal Global
{
get { return this.global; }
}
public Descriptor(IGlobal global)
{
this.global = global;
}
public override IClass_ID ClassID
{
get { return this.Global.Class_ID.Create((uint)0x28ca31e0, (uint)0x622d62c8); }
}
public override bool IsPublic
{
get { return true; }
}
public override string Category
{
get { return InternalName; }
}
public override string ClassName
{
get { return "Utilities"; }
}
public override SClass_ID SuperClassID
{
get { return SClass_ID.Utility; }
}
public override object Create(bool loading)
{
return new Utilities(this);
}
}