3 ms·
>Apple and Microsoft are showing every indication that within the near future this direction may well apply to desktops too. The restrictive ‘store’ APIs pushed
by cremno 11y ago
>Apple and Microsoft are showing every indication that within the near future this direction may well apply to desktops too. The restrictive ‘store’ APIs pushed by these platform holders seem to relish in preventing the execution of unapproved code.
Not really. Windows 10 apparently allows universal Windows apps to call VirtualAlloc() and VirtualProtect().
http://blogs.msdn.com/b/chuckw/archive/2012/09/17/dual-use-coding-techniques-for-games-part-2.aspx http://blogs.msdn.com/b/chuckw/archive/2012/09/17/dual-use-c...
- vardump 11y ago> Windows 10 apparently allows universal Windows apps to call VirtualAlloc() and VirtualProtect(). Yes, but they're useless for this purpose. VirtualAlloc is mapped to VirtualAllocFromApp. Which means you can't allocate executable pages. You can't make a page executable. Nor can you make executable pages writable. So you can't run dynamically generated code at all in a Windows 10 universal app.
- kayamon 11y agoIt's hard to tell if that's the case or not - the documentation seems to contradict itself on that point.