Про то, как отцепиться и ничего не порушить.

??????? ???????? ? ?????? ??????? ?? ? ???, ??? ??????????, ? ? ???, ??? ?????????? ? ?????? ?? ????????. ? ???????, ???????? ??????? ??????: We recently saw an AV in stress where our vectored exception handler was called after our dll was unloaded. After investigating the issue, it seems like removing the vectored exception handler…


Правильный прототип функции DebugBreak().

??????? DebugBreak() ????????? ??? ????? ???????: void WINAPI DebugBreak(void); ???? ????????, ?? ??? ?? ????? ??????? ??????? ??????????. ??????? ????? ??????? ????????? ??? ??: void __cdecl DebugBreak(…); ??????? ? ????? ??????? ????? ???????? ????? ????? ??????????. ????????, ???????? ?????????? ???????????? ??? ? ?????? ????? ????????. ??? ???????? ?????????????? ?????????. ? ????? ? ????????? ?????????? ???…