MFT can call WCF client for loopback? RRS feed

  • Question

  • Hello,

    I have a c++ dll build in desktop, and then I want  to use it for MFT in my Windows store app.

    I find WCF maybe can do this. But I am not sure.

    Can I  call WCF client by C++ MFT project? Now, I get error for "WRL cannot be compiled with /clr option enabled".

    How can I do this?


    Wednesday, April 1, 2015 6:05 AM

All replies

  • If you have access to the source of that DLL you might want to port it to be a WinRT component.

    If not I doubt that WCF is a viable approach when it comes to MediaFoundationTransforms. Given that you seem to be willing to rely on a Desktop component I guess you don't want to distribute this App via the Store?

    For enterprise sideloading scenarios you can use Brokered WinRT component that allow you to access Win32 code from a WinRT App. I don't know if the performance this can achieve is suitable for MediaTransforms though. You can read more about that topic here: https://msdn.microsoft.com/en-us/library/windows/apps/dn630195.aspx?f=255&MSPPError=-2147217396

    Wednesday, April 1, 2015 7:48 AM
  • Thanks.

    You mean that we can't use WCF client for MediaFoundationTransforms in Metra app?

    Thursday, April 2, 2015 2:08 AM