<!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=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></BODY></HTML>