📄 handleexceptions.via
字号:
// HandleExceptions.lnl
application PE GUI entry main;
include "Windows.inc";
type SYSTEM_INFO {
dword dwOemID;
dword dwPageSize;
dword lpMinimumApplicationAddress;
dword lpMaximumApplicationAddress;
dword dwActiveProcessorMask;
dword dwNumberOfProcessors;
dword dwProcessorType;
dword dwAllocationGranularity;
dword dwReserved;
}
SYSTEM_INFO SI;
string buffer[256];
dword temp=200;
frame ExceptionFilter(dword a,dword b);
Format(buffer,"catched exception.. %d; %d\nDo you wan't to continue?",a,b);
if(MessageBox(0,buffer,"Error..",$24)=6) {
MessageBox(0,"program is running again","Handled..",$20);
temp = @SI;
main();
}
end;
frame main();
SetUnhandledExceptionFilter(@ExceptionFilter.Address);
GetSystemInfo(temp);
MessageBox(0,"I'll never come here..","System.Info",0);
end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -