Well thats what I would have expected to do.
I dont know whats going on here, but now it tells me it cant find
TWebService1 which IS what its called.
Its like it need to be added to the uses clause too not just the web
reference.
Does that sound right?
Jeremy
-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 7 Sep 2004 10:30:05 +1000
Subject: RE: [DUG] Delphi 8 Document wrong ??
well that looks to be a mix of C# and delphi...the correct code should be something like::varws: TWebService1;beginws := TWebService1.Create;Button1.Text := ws.HelloWorld;end;cheers,JED-----Original Message-----
From: Jeremy Coulter [mailto:[EMAIL PROTECTED]
Sent: 7 September 2004 10:13 AM
To: [EMAIL PROTECTED]
Subject: [DUG] Delphi 8 Document wrong ??Hi AllBeen give the go ahead for me first real .NET app. yay !Only problem is, I seem to ave found a bit of a problem in the documentation.I am jsut going thru the "Gettitng Started" guide to see how Delphi does Web Services, and all has gone well UNTIL I reach this bot of code, and its copy and pasted from the Help :-procedure TWinForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
new ws := WebService1();
button1.Text := ws.HelloWorld();
end;the problem here is, it thinks NEW is infact a NEW(mypointer).anyone else struck this or know the answer?Thanks, Jeremy
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
