Re: win32api.pyd will be block by smart app control in win11

Antoine FERRON via python-win32 <[email protected]> Fri, 14 Apr 2023 15:10:45 +0200
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
Probably you can code sign the pyd with your certificate (valid from Microsoft chain). This looks like the cause is the pyd has no signature, once signed (as a DLL) it should work. That's the same way you sign the exe (if you do so, and I'm advise to do so).

_____________________________________
Antoine FERRON
Président — BitLogiK

bitlogik.fr (https://bitlogik.fr) — PGP Key ID#22F95B31 (https://keys.openpgp.org/search?q=antoine.ferron%40bitlogik.fr)
On Apr 14 2023, at 11:03 am, Liu Gin <[email protected]> wrote:
>
> I pack my python code into exe, and run in win11 with Smart App Control on.
> is there anyone meet this problem?
> how can I fix or pass it?
>
> Best Regards
> Leen
> _______________________________________________
> python-win32 mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-win32

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32