Hi guys - so I thought everything was going well with my first Custom Command. I can read properties and display them in my dockable script. But every time I try to modify anything in the Vegas project it throws an exception. For example if I try to add a marker:
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Sony.Vegas.IMarkerCOM.Add(Int64 pos, Int64 len, String label, UInt32& sessionID, Int32& typeIndex)
at Sony.Vegas.Marker.AddSelf(IMarkerCOM com)
at Sony.Vegas.BaseMarkerList`1.BaseAdd(T item)
at Sony.Vegas.BaseList`1.Add(T item)
I've tried to modify the project properties, add tracks, it's always the same result. CATASTROPHIC!!!
Has anyone seen this? Is it because I'm using VS2008? I'm trying to execute the following code in this case:
Timecode TC = new Timecode();
TC.Nanos = 10000;
String L = "Test";
Marker M = new Marker(TC,L);
myVegas.Project.Markers.Add(M);
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Sony.Vegas.IMarkerCOM.Add(Int64 pos, Int64 len, String label, UInt32& sessionID, Int32& typeIndex)
at Sony.Vegas.Marker.AddSelf(IMarkerCOM com)
at Sony.Vegas.BaseMarkerList`1.BaseAdd(T item)
at Sony.Vegas.BaseList`1.Add(T item)
I've tried to modify the project properties, add tracks, it's always the same result. CATASTROPHIC!!!
Has anyone seen this? Is it because I'm using VS2008? I'm trying to execute the following code in this case:
Timecode TC = new Timecode();
TC.Nanos = 10000;
String L = "Test";
Marker M = new Marker(TC,L);
myVegas.Project.Markers.Add(M);