写seh在DEBUG模式运行 正常
在release模式提示:内联 asm 分配到“FS:0”: 处理程序未注册为安全处理程序
代码
__asm{
push offset _except_handler
push fs : [0]
mov fs : [0], esp
mov eax,0
mov dword ptr[eax],eax
}
这应该怎么做
写seh在DEBUG模式运行 正常
在release模式提示:内联 asm 分配到“FS:0”: 处理程序未注册为安全处理程序
代码
__asm{
push offset _except_handler
push fs : [0]
mov fs : [0], esp
mov eax,0
mov dword ptr[eax],eax
}
这应该怎么做