locked
Using Boost with WinRT?

    Question

  • Hi all,

    Can I use Boost (or any other third party libraries) when writing a WinRT component?  It says that WinRT supports C++/CX and native C++, so this means I should be able to use an unmodified boost build (or other third party libraries) correct?

    Thanks,

    J

    Friday, March 9, 2012 3:59 AM

Answers

  • Depending on whether boost is using APIs or CRT. CRT is ported to WinRT but if boost is using win32 APIs that are not in the WinRT partition then the API call need to be ported.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

    Friday, March 9, 2012 4:43 AM

All replies

  • Depending on whether boost is using APIs or CRT. CRT is ported to WinRT but if boost is using win32 APIs that are not in the WinRT partition then the API call need to be ported.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

    Friday, March 9, 2012 4:43 AM
  • If you haven't seen this talk, you may find it helpful in understanding how to leverage such libraries. There are demo's doing just that.

    Being pragmatic by leveraging existing code in Metro style apps
    PLAT-877T
    Speakers: Jason Olson


    David Lamb

    Saturday, March 10, 2012 12:47 AM
    Moderator