3 ms·
You're thinking of UWP apps, which used to only allow winrt APIs, though nowadays UWP app can also access most of win32 APIs as well. UWP is more about the dist
by roblabla 6y ago
You're thinking of UWP apps, which used to only allow winrt APIs, though nowadays UWP app can also access most of win32 APIs as well. UWP is more about the distribution model than the APIs (apps must be signed, are usually installed through the store, etc...)
The winrt APIs can be used from traditional desktop apps just fine, and mixed with win32 from within the same executable. They don't constrain anything. UWP, however...
- FpUser 6y ago"UWP app can also access most of win32 APIs as well" Most and all are 2 different things. I've discovered limits immediately after investigating possibility of porting one of my apps. The winrt APIs can be used from traditional desktop apps just fine WinRT based applications run in sandbox and have their own limits. None of what you say has any relation to my original POV.
- roblabla 6y agoUWP apps run in a sandbox and have their own limits, e.g. most win32 api access requires special entitlements to work. WinRT is just a set of COM-based APIs, they don't inherently have any restrictioms on where or how they can be used.