在服务器端:鼠标选出socket 服务的属性选项(右击任务栏选属性选项)。把Intrcpt.DLL 的guid 放到 拦截者 的GUID编辑框。这个GUID 被定义为 Class_dataCompressor(数据压缩类)

解决方案 »

  1.   

     to airhorse(编程至尊宝):
     我用win2k server,服务管理器里服务属性没有guid这项呀
      

  2.   

    xixi~~来看过了
    小弟不会:)
      

  3.   

    to airhorse(编程至尊宝) :
       听命!
                              Midas Socket Server Intercepor
    {
      NOTE: Intercepor requires the ZLib units found in the extras directory on the
      CD.
      The Socket Server has the ability to install an interception COM object that
      can be called whenever it receives or sends data.  Using this feature, you
      can encrypt or compress data using any method you wish.  This demo uses the
      ZLib compression units that ship on the CD to compress/uncompress all data
      going over the wire.  To use this demo;
      1) Make sure you have copied the ZLib units from the CD to a directory and
         have added that directory to this projects search path.
      2) Compile Intrcpt.dpr.
      3) Register Intrcpt.DLL using REGSVR32 or TREGSVR on both the client and the
         server.
      4) On the Server: Bring up the properties for the Socket Server (right click
         on the icon in the task bar and select properties) and put the GUID for
         Intrcpt.DLL in the Interceptor GUID edit control.  The GUID is defined
         below as Class_DataCompressor.
      5) On the Client: Set the TSocketConnection.InterceptorGUID property to the
         Class_DataCompressor GUID and recompile your client.
    }
      

  4.   

      to airhorse(编程至尊宝) :
    要什么工具?词霸、快译?我跟你发过去
      

  5.   

    它说的是关于\delphi5\bin\ScktSrvr.exe一些设置,这是MIDAS中用TSocketConnection连接时,在服务端必须要运行这个后台程序。这个服务端程序是将客户端的输传过来的数据或要求进行解析,由TDataBlockInterpreter类,一般不用去管它,只要设置其侦听端口就行了。
      

  6.   

      多谢 copy_paste(木石三) 
    真是拨开云彩见青天,一切ok了!