Hi guys, I have some problem converting some codes from C# to VC++.net
The first one is that I am using Interop.QuartzTypeLib.dll
I put them in reference in VC++ and do a:
using namespace QuartzTypeLib;
then when it comes to this line
m_objFilterGraph = new FilgraphManager(); ---> Fine
m_objFilterGraph = new FilgraphManager(); --->ERROR! QuartzTypeLib::FilgraphManager' : you cannot create an instance of an interface...??????
I checked that the C# treats FilegraphManager as an Abstract Interface, whereas VC++ treats it as Interface.
Is that the reaosn why? or I simply canno tuse QuartzTypeLib in VC++
Is there a way to convert:
m_objBasicAudio = m_objFilterGraph as IBasicAudio;
to VC++.net (managed)