...
please refer to delft-tools\sandbox\ArcGisProjects\DesktopExtensions
The relevant code is
public class ArcViewOnlyExtension : IExtension, IExtensionConfig
{
void Wiki Markup
{
void ExecuteContextArcMfe_Delft3d(object sender, EventArgs e)
{{
// Note this code will only work with plugins that implement the PluginsExtPublicCmd
// COM object.
* COMObjectLateBinding cnet = new
{{
// Note this code will only work with plugins that implement the PluginsExtPublicCmd
// COM object.
COMObjectLateBinding cnet = new COMObjectLateBinding("ArcMfe_Delft3d.PluginsExtPublicCmd");*
*
cnet.Execute("executeCmd", new object\[\] {{ "een opdrachtje", "en de aansturing" });*
}
}
...
}
a simple wrapper class COMObjectLateBinding is used.