Creating Windows Runtime Components

By using the Windows Runtime, you can create components (essentially DLLs) in C++, C#, or Visual Basic, and call into them in a simple and natural way from a Windows Store app that's built by using JavaScript. Although you can use JavaScript to access the Windows Runtime APIs, JavaScript cannot easily access native C++ libraries or .NET Framework class library functionality. For example, you might create a component in C++ that uses a third-party library to perform some computationally expensive operations. Or you might want to reuse some Visual Basic or C# code in your Windows Store app. In either case, you can use the language of your choice to wrap that functionality in a Windows Runtime Component. Visual Studio features can help you create the component project and reference it from the client app that might be written in JavaScript, C#, Visual Basic or C++.

Show:
© 2014 Microsoft