Re: Error signature when calling GetScriptCount of IWMHeaderInfo3



From: "Helen"

It's posted before I could finish. Here is the code
snippet:

public class MyProgram
{
IWMMetadataEditor wmEditor = null;
IWMHeaderInfo3 headerInfo = null;
WMFWrapper.WMCreateEditor(out wmEditor);
wmEditor.Open("some.wma");
headerInfo = (IWMHeaderInfo3)wmEditor;
ushort count;
headerInfo.GetScriptCount(out count);
}

That's still not a valid C# program. Anyway, as I wrote,
that same code runs without errors on my machine. Have you
tried running it outside the VC# debugger? Have you tried
compiling the whole WMFSDKFunctions.cs instead of a edited
subset?


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


.