[Python-Dev] Python as a Metro-style App
Dino Viehland
dinov at microsoft.com
Sat Jan 14 00:22:20 CET 2012
Dino wrote:
> Martin wrote:
> > See the start of the thread: I tried to create a "WinRT Component
> > DLL", and that failed, as VS would refuse to compile any C file in
> > such a project. Not sure whether this is triggered by defining
> > WINAPI_FAMILY=2, or any other compiler setting.
> >
> > I'd really love to use WINAPI_FAMILY=2, as compiler errors are much
> > easier to fix than verifier errors.
>
> ...
>
> I'm going to ping some people on the windows team and see if the app
> container bit is or will be necessary for DLLs.
>
I heard back from the Windows team and they are going to require the app
container bit to be set on all PE files (although they don't currently enforce it).
I was able to compile a simple .c file and pass /link /appcontainer and that
worked, so I'm going to try and figure out if there's some way to get the .vcxproj
to build a working command line that includes that.
More information about the Python-Dev
mailing list