K
kehua
Unregistered / Unconfirmed
GUEST, unregistred user!
按照delphi8的在线帮助
Building an ASP.NET "Hello World" Web Services Application成功
Accessing an ASP.NET "HelloWorld" Web Services Application遇到下面的问题,帮助中拷贝的如下代码:
procedure TWinForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
new ws := WebService1();
button1.Text := ws.HelloWorld();
end;
编译时出现如下错误:
[Error] WinForm1.pas(93): '(' expected but identifier 'ws' found
[Error] WinForm1.pas(94): Missing operator or semicolon
[Fatal Error] Project2.dpr(19): Could not compile used unit 'WinForm1.pas'
有没有人试过?什么原因?
Building an ASP.NET "Hello World" Web Services Application成功
Accessing an ASP.NET "HelloWorld" Web Services Application遇到下面的问题,帮助中拷贝的如下代码:
procedure TWinForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
new ws := WebService1();
button1.Text := ws.HelloWorld();
end;
编译时出现如下错误:
[Error] WinForm1.pas(93): '(' expected but identifier 'ws' found
[Error] WinForm1.pas(94): Missing operator or semicolon
[Fatal Error] Project2.dpr(19): Could not compile used unit 'WinForm1.pas'
有没有人试过?什么原因?