Are Metro style apps managed or native, and if they are native, how can they work on both hand and x86?

Metro style apps were originally supposed to be driven (.NET) regardless of whether they were written in C # or C ++, and I thought C ++ for Metro style apps would be similar in concept to C ++ / CLI.

However, I have now heard the DotNet Rocks podcast that Metro style apps written in C ++ are native. However, I understand that Metro style apps run on all three Metro processor architectures. How is this achieved? Metro style apps have different binaries and only one selected / loaded? Or is it similar to Mac OS X where one binary can contain code for different processors?

+3


source to share


2 answers


It is possible to use code that only uses system or OS services from WinRT in the application and is distributed through the Windows Store for both WOA and x86 / 64 applications.



from this MSDN blog page

0


source


If you look that this BUILD video should start, then you need to clean up - http://channel9.msdn.com/events/BUILD/BUILD2011/TOOL-930C (.NET developer view for Windows 8 development)



Mostly CLR works (.NET 4.5). I didn't say the complete CLR. WinRT from a .NET perspective is just a .NET profile (sort of like they can compose APIs in different ways, revealing or hiding things). The new WinRT APIs use the new version of [gulp] COM, but it is optimized for use with .NET. I'm not 100% sure about the C ++ angle. I suspect with C ++ you have several options. Compile for each platform (arm and x86) or compile IL. Not sure if it helps at all (hopefully so).

0


source







All Articles