First of all, thanks abcba, that's an amazing piece of work, pure wizardry. And thanks a lot for making the source public, allowing us mere mortals a glimpse of all the magic behind the curtain :-)
I'm trying to get the project to build. I've installed the needed DirectX SDK (the August 07 version), the Detours package (version 2.1), and the current version of the Windows SDK for Vista. Right now the dwmapi, Loader, and MFPlat projects will build nicely, however the mf and the Wow projects won't budge.
Creating an CMFTopology instance in line 40 of mf.cpp generates the error msg "error C2259: 'CMFTopology' : cannot instantiate abstract class". The same error pops up in line 68 of MMDevice.cpp when creating the CAudioSessionManager instance. I'm new to C++ so it may be something trivial, but none of the classes look abstract to me (?)
The compiler also complains about the "FireEvent(MESessionTopologyReady)" in line 133 of MFMediaSession.cpp, claiming that the MESessionTopologyReady identifier hasn't been declared.
I'm beginning to suspect that the reason for both errors is that MS has updated the Windows SDK since you released the sources. Does that sound plausible or am I overlooking something obvious? - if I am, then allow me to apologize in advance for bugging you :-)
Once again thanks,
cl
Bookmarks