[Python-Dev] Python as a Metro-style App (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Jan 17 22:06:30 CET 2012
- Previous message: [Python-Dev] Python as a Metro-style App
- Next message: [Python-Dev] A question about the subprocess implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Just wondering, do Metro apps define UNDERCE or WIN32WCE? The point is that the old ANSI functions (CreateFileA etc) have been removed from the embedded MS Windows CE long ago, too, and MS Windows Mobile used to be a custom CE variant or at least strongly related. In any case, it could help using the existing (incomplete) CE port as base for Metro.
I have now completed building Python as a Metro DLL; the WinRT restrictions are fairly limited (code-wise, not so in impact).
They are quite different from the CE restrictions. For example, CreateSemaphore is not available on WinRT, you have to use CreateSemaphoreExW (which is new in Windows Vista). No traces of the CE API can be seen in the restrictions, and the separation is done in a different manner (WINAPI_FAMILY==2).
Regards, Martin
- Previous message: [Python-Dev] Python as a Metro-style App
- Next message: [Python-Dev] A question about the subprocess implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]