<HTML><BODY>
<DIV>Well thats what I would have expected to do.</DIV>
<DIV>I dont know whats going on here, but now it tells me it cant find 
TWebService1 which IS what its called.</DIV>
<DIV>Its like it need to be added to the uses clause too not just the web 
reference.</DIV>
<DIV>Does that sound right?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jeremy</DIV>
<DIV><BR>&nbsp;</DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original 
Message-----<BR>From: JeremyN@frontiersoftware.com.au<BR>To: 
delphi@ns3.123.co.nz<BR>Date: Tue, 7 Sep 2004 10:30:05 +1000 <BR>Subject: 
RE: [DUG] Delphi 8 Document wrong ??<BR><BR>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
well that looks to be a mix of C# and delphi...</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
</FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
the correct code should be something like::</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
</FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
var</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
&nbsp; ws: TWebService1;</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
begin</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
&nbsp; ws := TWebService1.Create;</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
&nbsp; Button1.Text := ws.HelloWorld;</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
end;</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
</FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff size=2>
JED</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff>
&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=744143200-07092004></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=744143200-07092004>&nbsp;</SPAN>-----Original 
Message-----<BR><B>From:</B> Jeremy Coulter [mailto:vss@vss.co.nz]<BR><B>
Sent:</B> 7 September 2004 10:13 AM<BR><B>To:</B> delphi@delphi.org.nz<BR><B>
Subject:</B> [DUG] Delphi 8 Document wrong ??<BR><BR></DIV></FONT></FONT>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Hi All</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Been give the go ahead for me first real .NET app. yay !</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
<FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Only problem is, I seem to ave found a bit of a problem in the 
documentation.</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">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 :-</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
<FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
procedure TWinForm1.Button1_Click(sender: System.Object; e: 
System.EventArgs);<BR>begin<BR>&nbsp;&nbsp;&nbsp; new ws := 
WebService1();<BR>&nbsp;&nbsp;&nbsp; button1.Text := ws.HelloWorld();<BR>
end;<BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
<FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
the problem here is, it thinks NEW is infact a NEW(mypointer).</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
<FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
anyone else struck this or know the answer?</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
<FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">
Thanks, Jeremy<BR></DIV></BLOCKQUOTE></BLOCKQUOTE>
</BODY></HTML>