我是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.到底是为什么呢?看别人的例子,好像很简单地都可以的呀...真心求助,谢谢大侠啊。
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.到底是为什么呢?看别人的例子,好像很简单地都可以的呀...真心求助,谢谢大侠啊。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货