iptoolUnit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:55k
源码类别:

远程控制编程

开发平台:

Delphi

  1. unit iptoolUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls;
  6. type
  7.   TIPTool=class(TForm)
  8.     CaptionLabel: TLabel;
  9.     CloseButton: TFlatSpeedButton;
  10.     Label92: TLabel;
  11.     OutlookBtn117: TOutlookBtn;
  12.     OutlookBtn118: TOutlookBtn;
  13.     OutlookBtn119: TOutlookBtn;
  14.     Label93: TLabel;
  15.     OutlookBtn1: TOutlookBtn;
  16.     Label1: TLabel;
  17.     Label2: TLabel;
  18.     OutlookBtn2: TOutlookBtn;
  19.     FlatEdit32: TFlatEdit;
  20.     FlatEdit34: TFlatEdit;
  21.     DisplayMemo: TMemo;
  22.     FlatEdit1: TFlatEdit;
  23.     PingUtil: TPing;
  24.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  25.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  26.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  27.     procedure CloseButtonClick(Sender: TObject);
  28.     procedure FormCreate(Sender: TObject);
  29.     procedure FormPaint(Sender: TObject);
  30.     procedure FormResize(Sender: TObject);
  31.     procedure OutlookBtn117Click(Sender: TObject);
  32.     procedure OutlookBtn118Click(Sender: TObject);
  33.     procedure OutlookBtn119Click(Sender: TObject);
  34.     procedure OutlookBtn1Click(Sender: TObject);
  35.     procedure OutlookBtn2Click(Sender: TObject);
  36.     procedure PingUtilDisplay(Sender: TObject);{?}
  37.     procedure PingUtilDnsLookupDone(Sender: TObject);{?}
  38.     procedure PingUtilEchoReply(Sender: TObject);{?}
  39.     procedure PingUtilEchoRequest(Sender: TObject);{?}
  40.   private
  41.     { Private declarations }
  42.   public
  43.     { Public declarations }
  44.   end ;
  45. var
  46.   IPTool: TIPTool;
  47. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  48. implementation
  49. {$R *.DFM}
  50. procedure TIPTool.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  51. begin
  52. {
  53. 004E1BC8   55                     push    ebp
  54. 004E1BC9   8BEC                   mov     ebp, esp
  55. 004E1BCB   53                     push    ebx
  56. 004E1BCC   8BD8                   mov     ebx, eax
  57. 004E1BCE   8B83C4020000           mov     eax, [ebx+$02C4]
  58. 004E1BD4   8B4024                 mov     eax, [eax+$24]
  59. 004E1BD7   E800A9F5FF             call    0043C4DC
  60. 004E1BDC   50                     push    eax
  61. * Reference to: SHBrowseForFolderA.SetCapture
  62. |
  63. 004E1BDD   E8965CF2FF             call    00407878
  64. 004E1BE2   C7830C030000FFFFFFFF   mov     dword ptr [ebx+$030C], $FFFFFFFF
  65. 004E1BEC   8B450C                 mov     eax, [ebp+$0C]
  66. 004E1BEF   898304030000           mov     [ebx+$0304], eax
  67. 004E1BF5   8B4508                 mov     eax, [ebp+$08]
  68. 004E1BF8   898308030000           mov     [ebx+$0308], eax
  69. 004E1BFE   5B                     pop     ebx
  70. 004E1BFF   5D                     pop     ebp
  71. 004E1C00   C20C                   ret     $0C
  72. }
  73.  end ; 
  74. procedure TIPTool.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  75. begin
  76. {
  77. 004E1C04   55                     push    ebp
  78. 004E1C05   8BEC                   mov     ebp, esp
  79. 004E1C07   53                     push    ebx
  80. 004E1C08   56                     push    esi
  81. 004E1C09   8BD8                   mov     ebx, eax
  82. 004E1C0B   83BB0C03000000         cmp     dword ptr [ebx+$030C], +$00
  83. 004E1C12   7433                   jz      004E1C47
  84. 004E1C14   8B83C4020000           mov     eax, [ebx+$02C4]
  85. 004E1C1A   8B7024                 mov     esi, [eax+$24]
  86. 004E1C1D   8B8304030000           mov     eax, [ebx+$0304]
  87. 004E1C23   2B450C                 sub     eax, dword ptr [ebp+$0C]
  88. 004E1C26   8B5630                 mov     edx, [esi+$30]
  89. 004E1C29   2BD0                   sub     edx, eax
  90. 004E1C2B   8BC6                   mov     eax, esi
  91. 004E1C2D   E87A42F5FF             call    00435EAC
  92. 004E1C32   8B8308030000           mov     eax, [ebx+$0308]
  93. 004E1C38   2B4508                 sub     eax, dword ptr [ebp+$08]
  94. 004E1C3B   8B5634                 mov     edx, [esi+$34]
  95. 004E1C3E   2BD0                   sub     edx, eax
  96. 004E1C40   8BC6                   mov     eax, esi
  97. 004E1C42   E88942F5FF             call    00435ED0
  98. 004E1C47   5E                     pop     esi
  99. 004E1C48   5B                     pop     ebx
  100. 004E1C49   5D                     pop     ebp
  101. 004E1C4A   C208                   ret     $08
  102. }
  103.  end ; 
  104. procedure TIPTool.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  105. begin
  106. {
  107. 004E1C50   55                     push    ebp
  108. 004E1C51   8BEC                   mov     ebp, esp
  109. 004E1C53   53                     push    ebx
  110. 004E1C54   56                     push    esi
  111. 004E1C55   8BD8                   mov     ebx, eax
  112. 004E1C57   83BB0C03000000         cmp     dword ptr [ebx+$030C], +$00
  113. 004E1C5E   7440                   jz      004E1CA0
  114. 004E1C60   8B83C4020000           mov     eax, [ebx+$02C4]
  115. 004E1C66   8B7024                 mov     esi, [eax+$24]
  116. * Reference to: SHBrowseForFolderA.ReleaseCapture
  117. |
  118. 004E1C69   E8BA5BF2FF             call    00407828
  119. 004E1C6E   33C0                   xor     eax, eax
  120. 004E1C70   89830C030000           mov     [ebx+$030C], eax
  121. 004E1C76   8B8304030000           mov     eax, [ebx+$0304]
  122. 004E1C7C   2B450C                 sub     eax, dword ptr [ebp+$0C]
  123. 004E1C7F   8B5630                 mov     edx, [esi+$30]
  124. 004E1C82   2BD0                   sub     edx, eax
  125. 004E1C84   8BC6                   mov     eax, esi
  126. 004E1C86   E82142F5FF             call    00435EAC
  127. 004E1C8B   8B8308030000           mov     eax, [ebx+$0308]
  128. 004E1C91   2B4508                 sub     eax, dword ptr [ebp+$08]
  129. 004E1C94   8B5634                 mov     edx, [esi+$34]
  130. 004E1C97   2BD0                   sub     edx, eax
  131. 004E1C99   8BC6                   mov     eax, esi
  132. 004E1C9B   E83042F5FF             call    00435ED0
  133. 004E1CA0   5E                     pop     esi
  134. 004E1CA1   5B                     pop     ebx
  135. 004E1CA2   5D                     pop     ebp
  136. 004E1CA3   C20C                   ret     $0C
  137. }
  138.  end ; 
  139. procedure TIPTool.CloseButtonClick(Sender: TObject);
  140. begin
  141. {
  142. 004E1BC0   E8B7DEF6FF             call    0044FA7C
  143. 004E1BC5   C3                     ret
  144. }
  145.  end ; 
  146. procedure TIPTool.FormCreate(Sender: TObject);
  147. begin
  148. {
  149. 004E1A44   55                     push    ebp
  150. 004E1A45   8BEC                   mov     ebp, esp
  151. 004E1A47   6A00                   push    $00
  152. 004E1A49   6A00                   push    $00
  153. 004E1A4B   53                     push    ebx
  154. 004E1A4C   8BD8                   mov     ebx, eax
  155. 004E1A4E   33C0                   xor     eax, eax
  156. 004E1A50   55                     push    ebp
  157. 004E1A51   68991B4E00             push    $004E1B99
  158. ***** TRY
  159. |
  160. 004E1A56   64FF30                 push    dword ptr fs:[eax]
  161. 004E1A59   648920                 mov     fs:[eax], esp
  162. 004E1A5C   8BC3                   mov     eax, ebx
  163. 004E1A5E   E8B5FDFFFF             call    004E1818
  164. 004E1A63   C7430C0E000000         mov     dword ptr [ebx+$0C], $0000000E
  165. 004E1A6A   A1B44E5400             mov     eax, dword ptr [$544EB4]
  166. 004E1A6F   8B00                   mov     eax, [eax]
  167. 004E1A71   E856EFF6FF             call    004509CC
  168. 004E1A76   8BD0                   mov     edx, eax
  169. 004E1A78   2B5338                 sub     edx, dword ptr [ebx+$38]
  170. 004E1A7B   D1FA                   sar     edx, 1
  171. 004E1A7D   7903                   jns     004E1A82
  172. 004E1A7F   83D200                 adc     edx, +$00
  173. 004E1A82   8BC3                   mov     eax, ebx
  174. 004E1A84   E82344F5FF             call    00435EAC
  175. 004E1A89   A1B44E5400             mov     eax, dword ptr [$544EB4]
  176. 004E1A8E   8B00                   mov     eax, [eax]
  177. 004E1A90   E82BEFF6FF             call    004509C0
  178. 004E1A95   8BD0                   mov     edx, eax
  179. 004E1A97   2B533C                 sub     edx, dword ptr [ebx+$3C]
  180. 004E1A9A   D1FA                   sar     edx, 1
  181. 004E1A9C   7903                   jns     004E1AA1
  182. 004E1A9E   83D200                 adc     edx, +$00
  183. 004E1AA1   8BC3                   mov     eax, ebx
  184. 004E1AA3   E82844F5FF             call    00435ED0
  185. 004E1AA8   8D55F8                 lea     edx, [ebp-$08]
  186. 004E1AAB   8B430C                 mov     eax, [ebx+$0C]
  187. 004E1AAE   E8B973F2FF             call    00408E6C
  188. 004E1AB3   8D45F8                 lea     eax, [ebp-$08]
  189. * Possible String Reference to: "_x"
  190. |
  191. 004E1AB6   BAB01B4E00             mov     edx, $004E1BB0
  192. 004E1ABB   E82024F2FF             call    00403EE0
  193. 004E1AC0   8B55F8                 mov     edx, [ebp-$08]
  194. 004E1AC3   8D4DFC                 lea     ecx, [ebp-$04]
  195. 004E1AC6   A1DC495400             mov     eax, dword ptr [$5449DC]
  196. 004E1ACB   8B00                   mov     eax, [eax]
  197. 004E1ACD   E8A2110300             call    00512C74
  198. 004E1AD2   837DFC00               cmp     dword ptr [ebp-$04], +$00
  199. 004E1AD6   743B                   jz      004E1B13
  200. 004E1AD8   8D55F8                 lea     edx, [ebp-$08]
  201. 004E1ADB   8B430C                 mov     eax, [ebx+$0C]
  202. 004E1ADE   E88973F2FF             call    00408E6C
  203. 004E1AE3   8D45F8                 lea     eax, [ebp-$08]
  204. * Possible String Reference to: "_x"
  205. |
  206. 004E1AE6   BAB01B4E00             mov     edx, $004E1BB0
  207. 004E1AEB   E8F023F2FF             call    00403EE0
  208. 004E1AF0   8B55F8                 mov     edx, [ebp-$08]
  209. 004E1AF3   8D4DFC                 lea     ecx, [ebp-$04]
  210. 004E1AF6   A1DC495400             mov     eax, dword ptr [$5449DC]
  211. 004E1AFB   8B00                   mov     eax, [eax]
  212. 004E1AFD   E872110300             call    00512C74
  213. 004E1B02   8B45FC                 mov     eax, [ebp-$04]
  214. 004E1B05   E8C673F2FF             call    00408ED0
  215. 004E1B0A   8BD0                   mov     edx, eax
  216. 004E1B0C   8BC3                   mov     eax, ebx
  217. 004E1B0E   E89943F5FF             call    00435EAC
  218. 004E1B13   8D55F8                 lea     edx, [ebp-$08]
  219. 004E1B16   8B430C                 mov     eax, [ebx+$0C]
  220. 004E1B19   E84E73F2FF             call    00408E6C
  221. 004E1B1E   8D45F8                 lea     eax, [ebp-$08]
  222. * Possible String Reference to: "_y"
  223. |
  224. 004E1B21   BABC1B4E00             mov     edx, $004E1BBC
  225. 004E1B26   E8B523F2FF             call    00403EE0
  226. 004E1B2B   8B55F8                 mov     edx, [ebp-$08]
  227. 004E1B2E   8D4DFC                 lea     ecx, [ebp-$04]
  228. 004E1B31   A1DC495400             mov     eax, dword ptr [$5449DC]
  229. 004E1B36   8B00                   mov     eax, [eax]
  230. 004E1B38   E837110300             call    00512C74
  231. 004E1B3D   837DFC00               cmp     dword ptr [ebp-$04], +$00
  232. 004E1B41   743B                   jz      004E1B7E
  233. 004E1B43   8D55F8                 lea     edx, [ebp-$08]
  234. 004E1B46   8B430C                 mov     eax, [ebx+$0C]
  235. 004E1B49   E81E73F2FF             call    00408E6C
  236. 004E1B4E   8D45F8                 lea     eax, [ebp-$08]
  237. * Possible String Reference to: "_y"
  238. |
  239. 004E1B51   BABC1B4E00             mov     edx, $004E1BBC
  240. 004E1B56   E88523F2FF             call    00403EE0
  241. 004E1B5B   8B55F8                 mov     edx, [ebp-$08]
  242. 004E1B5E   8D4DFC                 lea     ecx, [ebp-$04]
  243. 004E1B61   A1DC495400             mov     eax, dword ptr [$5449DC]
  244. 004E1B66   8B00                   mov     eax, [eax]
  245. 004E1B68   E807110300             call    00512C74
  246. 004E1B6D   8B45FC                 mov     eax, [ebp-$04]
  247. 004E1B70   E85B73F2FF             call    00408ED0
  248. 004E1B75   8BD0                   mov     edx, eax
  249. 004E1B77   8BC3                   mov     eax, ebx
  250. 004E1B79   E85243F5FF             call    00435ED0
  251. 004E1B7E   33C0                   xor     eax, eax
  252. 004E1B80   5A                     pop     edx
  253. 004E1B81   59                     pop     ecx
  254. 004E1B82   59                     pop     ecx
  255. 004E1B83   648910                 mov     fs:[eax], edx
  256. ****** FINALLY
  257. |
  258. * Possible String Reference to: "[YY]