Can a Metro Windows 8 C ++ application contain built-in assembler?

Can a Metro Windows 8 application contain built-in assembler? Also, is Metro C ++ Native or Managed, or can you mix them as C ++ / CLI?

+7
source share
1 answer

Metro style applications use WinRT, which is a replacement for the old COM-based WinAPI. You can create your own WinRT components that can be used with .NET or even JavaScript - and this does not require additional effort. Regarding existing C ++ code, note that WinRT provides only a subset of Win32.

enter image description here

It doesn’t matter if you use C / C ++, C # or JS code when you use WinRT, you don’t directly call WinRT, but it goes through a binding called projection , which is what takes care that your WinRT components corresponded to another language.

enter image description here

"Can a Metro Windows 8 application contain built-in assembler?"
You can embed assembly language instructions directly in your C and C ++ code, because your compiler allows you to do this. Look at Inline Assembler as a collection of build instructions written as built-in functions that are built into the compiler . The fact that you are using WinRT does not matter here.

Questions that may help you:
Why is WinRT unmanaged? C ++, C # and JavaScript on WinRT
What are WinRT language forecasts?

+9
source

All Articles