When trying to call AddEffect in an extension, I get the following exception (but have no problem when the same code is used within a script):
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Sony.Vegas.IEffectCOM.AddEffect(IPlugInNodeCOM com, Int32& index, UInt32& sessionID)
at Sony.Vegas.Effect.AddSelf(IEffectOwner owner, Int32 index)
at Sony.Vegas.Effects.BaseAdd(Effect item)
at Sony.Vegas.Effects.AddEffect(PlugInNode plugIn)
at MyExtension.MyExtClass.HandleInvoked(Object sender, EventArgs args)
Similarly I get the same exception for adding a keyframe from within an extension.
Any help appreciated.
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Sony.Vegas.IEffectCOM.AddEffect(IPlugInNodeCOM com, Int32& index, UInt32& sessionID)
at Sony.Vegas.Effect.AddSelf(IEffectOwner owner, Int32 index)
at Sony.Vegas.Effects.BaseAdd(Effect item)
at Sony.Vegas.Effects.AddEffect(PlugInNode plugIn)
at MyExtension.MyExtClass.HandleInvoked(Object sender, EventArgs args)
Similarly I get the same exception for adding a keyframe from within an extension.
Any help appreciated.