locked
Re-targeting a C++ Win32 library (dll) to WinRt

    Question

  • I want to recompile a third party library package named Aforge.Video.FFMPEG: I want to recompile it for windows 8.1 application development. Please help me how can I do that?
    Monday, March 17, 2014 7:39 PM

Answers

  • How difficult this is depends on the specific library. You can load Win32 libraries in a Windows Store app without changes so long as the library doesn't make any calls to API which aren't available to Windows Store apps. See Win32 and COM for Windows Store apps .

    Aforge.Video.FFMPEG appears to be a .Net library, so that's a bit more tricky as C++/CLI is not supported for Windows Store apps and it may have more conflicts.  See .NET for Windows Store apps overview

    A quick search on FFMPEG WinRT found several other FFMPEG libraries which are already ported to work with Windows Store apps so you'll probably be better off using one of those rather than trying to port Aforge yourself. Alternatively, talk to the Aforge authors to see if they have already looked into what it will take to port their code.

    --Rob

    Monday, March 17, 2014 8:05 PM
    Owner