在 2022/9/15 03:29, Martin Storsjö 写道:
As we're free to use any Windows specific APIs here, I considered using TerminateProcess() - but I preferred to avoid that as it's not available for older Windows Store apps (targeting Windows 8.x iirc). (We do have a fallback implementation of it for such older Windows Store builds in the winstorecompat library, but there it only boils down to calling _exit().)But since probably very few do care about those older Windows Store targets at this point, maybe that's not that much of an issue any longer?
What do other Windows Store Apps do, if really something fatal happens? Do they exit or report a fatal error? Depending on the behavior, we may have to implement this function specially in the winstorecompat library.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
