You have to change the options to have "writable const". -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be
----- Original Message ----- From: "TK Boyd" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, August 12, 2007 6:33 PM Subject: [twsocket] Help with re-install simply WSocket? > Sorry folks... Help? About 2 years ago I set ICS up on a Win98 system > with Delphi 2... I am not a complete idiot, I CAN do it... or at > least I could. Ideas on where I'm going wrong in the following would > be very welcome. I tried to repeat my previous triumph.... but.. so > far.. no joy. > > I like to keep things simple. I like to keep my core Delphi system as > untouched as possible. So... > > 12 Aug 07, I downloaded ics.zip (ICS-V5 Distribution) from Overbyte. > > I unzipped it to a folder of it's own. (Yes, I kept the ics paths > intact.) > > I backed up Delphi's cmplib32.dcl > > I set up a sub-folder ("ICS") within Delphi's delphi 2.0\lib\ so that > my ICS stuff wouldn't be all mixed up with other components. > > I copied icsdefs.inc, WSocket.pas and ICSlogger.pas to that folder... > > and then I tried (within a freshly started Delphi 2, no app-in- > development open. Win98SE environment.).... > > Component | Install | Add... > > (I did what was necessary to get Delphi to "look" at the WSocket.pas > file) > > On the first attempt, the compiler objected to a line in ICSLogger. > The line was... > > "else > FLogFile.Size := 0;" > > ... and the objection was... > > "Cannot assign to a read-only property" > > ==== > Thoughts? I'm so frustrated! I know I have ICS working nicely on a > different computer, same Delphi (ver 2), same OS (Win98SE). Possible > a different ICS... I think it was abou 2005 I set it up on the other > machine. > > Help?? Please?? > > === > Further clue? > > In desperation, I remmed out the offending line, and tried to install > the component again. (Yes, I realize it would have been an unreliable > component!) > > This time the compiler fell over in WSocket.pas at.... > > Status := WSocket_WSAIoctl(FHSocket, SIO_KEEPALIVE_VALS, > @KeepAliveIn, SizeOf(KeepAliveIn), > @KeepAliveOut, SizeOf(KeepAliveOut), > BytesReturned, nil, nil); > > .... the error message was... > > "Types of actual and formal var parameters must be identical" > > Help will be much appreciated! > > === No need to read the rest!.... > > Have a look at... > > http://mon277rr.dyndns.org > > ... if you are curious about what you are helping. That's a graph of > the weather where I am, about 8 days' worth. Red line: Outdoor tture. > > (Yes, there's a slight bug in the Quote Creator.... scraps of earlier > quotes are sometimes still on the screen.) > > See > > http://sheepdogsoftware.co.uk/ssds043.htm > > if the visible-from-afar weather interests you. > > > > > > http://sheepdogsoftware.co.uk TK Boyd's site with > freeware and shareware for kids, parents, schools... and others. > (Apologies for the extra stuff below tacked on by Yahoo...) > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
