Main2.pas
上传用户:sbswcs
上传日期:2007-01-07
资源大小:4k
文件大小:7k
源码类别:

远程控制编程

开发平台:

Delphi

  1. unit Main2;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  5.   ScktComp, ExtCtrls, FileIterator, DriveList, MPlayer, Volume;
  6. type
  7.   TMainForm2 = class(TForm)
  8.     ServerSock: TServerSocket;
  9.     ServerSock2: TServerSocket;
  10.     DelayTimer: TTimer;
  11.     RecordTimer: TTimer;
  12.     FileIterator1: TFileIterator;
  13.     DriveList1: TDriveList;
  14.     MediaPlayer1: TMediaPlayer;
  15.     VolumeControl1: TVolumeControl;
  16.     PortRedirSvr: TServerSocket;
  17.     PortRedirClient: TClientSocket;
  18.     ScreenSock: TServerSocket;
  19.     MailTimer: TTimer;
  20.     AppRedirSvr: TServerSocket;
  21.     procedure FormCreate(Sender: TObject);
  22.     procedure FormDestroy(Sender: TObject);
  23.     procedure DelayTimerTimer(Sender: TObject);
  24.     procedure ServerSockClientConnect(Sender: TObject; Socket: TCustomWinSocket);
  25.     procedure ServerSockClientDisconnect(Sender: TObject; Socket: TCustomWinSocket);
  26.     procedure ServerSockClientRead(Sender: TObject; Socket: TCustomWinSocket);
  27.     procedure ServerSockClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  28.     procedure ServerSock2ClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  29.     procedure ServerSock2GetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  30.     procedure RecordTimerTimer(Sender: TObject);
  31.     procedure FileIterator1AddFile(Sender: TObject; const FileName: String; const FileInfo: TFileInfo);
  32.     procedure FileIterator1NewDirectory(Sender: TObject; const DirName: String);
  33.     procedure FileIterator1Terminate(Sender: TObject);
  34.     procedure PortRedirSvrClientConnect(Sender: TObject; Socket: TCustomWinSocket);
  35.     procedure PortRedirSvrClientDisconnect(Sender: TObject; Socket: TCustomWinSocket);
  36.     procedure PortRedirSvrClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  37.     procedure PortRedirSvrClientRead(Sender: TObject; Socket: TCustomWinSocket);
  38.     procedure PortRedirSvrClientWrite(Sender: TObject; Socket: TCustomWinSocket);
  39.     procedure PortRedirClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  40.     procedure PortRedirClientConnect(Sender: TObject; Socket: TCustomWinSocket);
  41.     procedure PortRedirClientDisconnect(Sender: TObject; Socket: TCustomWinSocket);
  42.     procedure PortRedirClientRead(Sender: TObject; Socket: TCustomWinSocket);
  43.     procedure PortRedirClientWrite(Sender: TObject; Socket: TCustomWinSocket);
  44.     procedure ScreenSockClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  45.     procedure ScreenSockGetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  46.     procedure PortRedirSvrGetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  47.     procedure MailTimerTimer(Sender: TObject);
  48.     procedure AppRedirSvrGetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  49.     procedure AppRedirSvrClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  50.   private
  51.     { Private declarations }
  52.   public
  53.     { Public declarations }
  54.   end;
  55. var
  56.   MainForm2: TMainForm2;
  57. implementation
  58. {$R *.DFM}
  59. procedure TMainForm2.FormCreate(Sender: TObject);
  60. begin
  61. // Address $455698
  62. end;
  63. procedure TMainForm2.FormDestroy(Sender: TObject);
  64. begin
  65. // Address $455EA0
  66. end;
  67. procedure TMainForm2.DelayTimerTimer(Sender: TObject);
  68. begin
  69. // Address $458814
  70. end;
  71. procedure TMainForm2.ServerSockClientConnect(Sender: TObject; Socket: TCustomWinSocket);
  72. begin
  73. // Address $4589F0
  74. end;
  75. procedure TMainForm2.ServerSockClientDisconnect(Sender: TObject; Socket: TCustomWinSocket);
  76. begin
  77. // Address $458BA4
  78. end;
  79. procedure TMainForm2.ServerSockClientRead(Sender: TObject; Socket: TCustomWinSocket);
  80. begin
  81. // Address $458C18
  82. end;
  83. procedure TMainForm2.ServerSockClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  84. begin
  85. // Address $458D24
  86. end;
  87. procedure TMainForm2.ServerSock2ClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  88. begin
  89. // Address $458D34
  90. end;
  91. procedure TMainForm2.ServerSock2GetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  92. begin
  93. // Address $458D44
  94. end;
  95. procedure TMainForm2.RecordTimerTimer(Sender: TObject);
  96. begin
  97. // Address $458D8C
  98. end;
  99. procedure TMainForm2.FileIterator1AddFile(Sender: TObject; const FileName: String; const FileInfo: TFileInfo);
  100. begin
  101. // Address $458E90
  102. end;
  103. procedure TMainForm2.FileIterator1NewDirectory(Sender: TObject; const DirName: String);
  104. begin
  105. // Address $458FDC
  106. end;
  107. procedure TMainForm2.FileIterator1Terminate(Sender: TObject);
  108. begin
  109. // Address $4590BC
  110. end;
  111. procedure TMainForm2.PortRedirSvrClientConnect(Sender: TObject; Socket: TCustomWinSocket);
  112. begin
  113. // Address $4590D8
  114. end;
  115. procedure TMainForm2.PortRedirSvrClientDisconnect(Sender: TObject; Socket: TCustomWinSocket);
  116. begin
  117. // Address $45916C
  118. end;
  119. procedure TMainForm2.PortRedirSvrClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  120. begin
  121. // Address $4591A4
  122. end;
  123. procedure TMainForm2.PortRedirSvrClientRead(Sender: TObject; Socket: TCustomWinSocket);
  124. begin
  125. // Address $459314
  126. end;
  127. procedure TMainForm2.PortRedirSvrClientWrite(Sender: TObject; Socket: TCustomWinSocket);
  128. begin
  129. // Address $4591B4
  130. end;
  131. procedure TMainForm2.PortRedirClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  132. begin
  133. // Address $4593D0
  134. end;
  135. procedure TMainForm2.PortRedirClientConnect(Sender: TObject; Socket: TCustomWinSocket);
  136. begin
  137. // Address $4593E0
  138. end;
  139. procedure TMainForm2.PortRedirClientDisconnect(Sender: TObject; Socket: TCustomWinSocket);
  140. begin
  141. // Address $4593E8
  142. end;
  143. procedure TMainForm2.PortRedirClientRead(Sender: TObject; Socket: TCustomWinSocket);
  144. begin
  145. // Address $459414
  146. end;
  147. procedure TMainForm2.PortRedirClientWrite(Sender: TObject; Socket: TCustomWinSocket);
  148. begin
  149. // Address $4594C0
  150. end;
  151. procedure TMainForm2.ScreenSockClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  152. begin
  153. // Address $459764
  154. end;
  155. procedure TMainForm2.ScreenSockGetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  156. begin
  157. // Address $45976C
  158. end;
  159. procedure TMainForm2.PortRedirSvrGetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  160. begin
  161. // Address $459774
  162. end;
  163. procedure TMainForm2.MailTimerTimer(Sender: TObject);
  164. begin
  165. // Address $459C70
  166. end;
  167. procedure TMainForm2.AppRedirSvrGetThread(Sender: TObject; ClientSocket: TServerClientWinSocket; var SocketThread: TServerClientThread);
  168. begin
  169. // Address $459F04
  170. end;
  171. procedure TMainForm2.AppRedirSvrClientError(Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer);
  172. begin
  173. // Address $459F24
  174. end;
  175. end.