<p>namespace TestMaxDotNetMenu
{
public class TestMenu : IPlugin
{
public void Cleanup()
{
}
public void Initialize(IGlobal global, System.ComponentModel.ISynchronizeInvoke sync)
{
MessageBox.Show("TestMenu With MaxDotNet");
IInterface MaxInterface = global.COREInterface;
IPrimitive primZKLaunch = global.Primitive.Create("ZKLaunch",Launch);
}
public void Launch()
{
MessageBox.Show("Launch");
}
}
}
</p>
why, error on "global.Primitive.Create("ZKLaunch",Launch);"
my english very poor, sorry
software is max9 + vs2005