Re: Error signature when calling GetScriptCount of IWMHeaderInfo3
- From: "Alessandro Angeli" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Feb 2008 20:09:17 -0500
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
.
- References:
- Prev by Date: Re: Audio plays back faster
- Next by Date: Re: Error signature when calling GetScriptCount of IWMHeaderInfo3
- Previous by thread: RE: Error signature when calling GetScriptCount of IWMHeaderInfo3
- Next by thread: Re: Error signature when calling GetScriptCount of IWMHeaderInfo3
- Index(es):