<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=793285600-07092004><FONT face=Arial color=#0000ff size=2>yes,
it needs to be added to the uses clause also</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Jeremy Coulter
[mailto:vss@vss.co.nz]<BR><B>Sent:</B> 7 September 2004 10:50 AM<BR><B>To:</B>
NZ Borland Developers Group - Delphi List<BR><B>Subject:</B> RE: [DUG] Delphi
8 Document wrong ??<BR><BR></FONT></DIV>
<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> </DIV>
<DIV>Jeremy</DIV>
<DIV><BR> </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> </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> </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> 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> ws := TWebService1.Create;</FONT></SPAN></DIV>
<DIV><SPAN class=744143200-07092004><FONT face=Arial color=#0000ff
size=2> 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> </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></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> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=744143200-07092004> </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> </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> </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> new ws :=
WebService1();<BR> 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> </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> </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> </DIV>
<DIV
style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma; BACKGROUND-COLOR: white">Thanks,
Jeremy<BR></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>