我是Delphi初学者,真心求助问题为什么我声明不了TServerSocket的变量呢?在程序的头部,uses了如下
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs,StdCtrls,ExtCtrls,ComCtrls,ScktComp,WinSock,Registry,IniFiles,StrUtils,Buttons ;type
  TForm1 = class(TForm)
    Panel1: TPanel;
    Label1: TLabel;
    Label2: TLabel;   SS1:TServerSocket;
在此,只要加上上句,保存文件时就会提示,Field Form1.SS1 does not have a corresponding component.到底是为什么呢?看别人的例子,好像很简单地都可以的呀...真心求助,谢谢大侠啊。