Beginning the coroutine with Visual Studio 2015 Update 3 Part 2

As we discussed through Part I, co_wait keyword requires sort of "resumable thing". So what if we want to use co_await with time delta? For example, you can see the code which the co_await takes std::chrono::duration in order to suspend for the specified time from here: https://github.com/Microsoft/cppwinrt/blob/master/10.0.14393.0/Samples/JustCoroutines/Main.cpp#L31 The answer is the fact that vc++ compiler … Continue reading Beginning the coroutine with Visual Studio 2015 Update 3 Part 2

Building WinRT component with WRL(non C++/CX) and cppwinrt

The cppwinrt project focused to consume Microsoft provided OS winrt components and it doesn't support building a winrt component(yet) although they mentioned it will be supported later. Even though it's not technically supported yet, we still can create a winrt component with WRL(pure C++ and non C++/CX) and still can get some benefits from using … Continue reading Building WinRT component with WRL(non C++/CX) and cppwinrt