IT^V^游侠
2015-01-25 10:07C#如何实现Delphi的abort功能
如题:C#如何实现Delphi的abort功能,写一个和Delphi功能一样的功能。
Delphi的Abort;实现如下:
procedure Abort;
procedure RaiseEAbort(ReturnAddr: Pointer);
begin
raise EAbort.CreateRes(@SOperationAborted) at ReturnAddr;
end;
asm
POP EAX
JMP RaiseEAbort
end;
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 请教数据库连接工具的问题
- sql
- oracle
- java
- 2个回答
- 终止或中止HTTP请求
- http
- error-handling
- abort
- exit
- 1个回答
- 日历功能中的Bughunt
- calendar
- navigation
- php
- 1个回答
- php mongodb library abortTransaction不起作用
- transactions
- mongodb
- php
- 1个回答
- 我们可以在任何代码行上使用ignore_user_abort()吗?
- php
- 2个回答
换一换