1 // Distributed under the Boost Software License, Version 1.0. (See accompanying
2 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4 #include <boost/predef/platform.h>
6 #if BOOST_PLAT_WINDOWS_RUNTIME
8 #include <wrl\wrappers\corewrappers.h>
9 #pragma comment(lib, "runtimeobject.lib")
11 // Necessary for the tests which to keep the Windows Runtime active,
12 // when running in an actual Windows store/phone application initialization
13 // is handled automatically by the CRT.
14 // This is easier than calling in the main function for each test case.
15 Microsoft::WRL::Wrappers::RoInitializeWrapper runtime(RO_INIT_MULTITHREADED);