Re: [twsocket] Help with re-install simply WSocket?

2007-08-20 Thread Arno Garrels
TK Boyd wrote:
 
 Cannot assign to read only property
 
 ... when it hits
 
 FLogFile.Size:=0
 
 ... in ICSLogger.

Yes, seems to be read only in D2, since D3 Size is read/write.
Eather try to change this line to FLogFile.Position := 0 (not 
sure whether that would work the same)
or define  NO_DEBUG_LOG  in the project options to exclude 
the IcsLogger component.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
-- 
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


Re: [twsocket] Help with re-install simply WSocket?

2007-08-19 Thread TK Boyd
Sorry I didn't follow up earlier suggestions more quickly... I wanted 
to research things further before asking again

To recap: I'm trying to install ICS on a Win98Se system, for use with 
Delphi2. I've done it before... but a while ago... so I MAY be help-
able!...

When I try to install even WSocket, my Delphi refuses, throwing 
up

Cannot assign to read only property

... when it hits

FLogFile.Size:=0

... in ICSLogger.

FLogFile is of type TFileStream, which is a Borland supplied 
descendant of TStream, with the size property read-only. I don't 
think the {+$J} directive is about getting around this sort of thing, 
is it? (I did try that route... from several directions... no luck.

My guess: I wonder if ICSLogger is an extra feature, added since the 
last time I installed ICS (the time I was successful with D2/Win98!) 
And, still guessing, ICSLogger uses something D2 unfriendly.

My hope: I'm wondering if it would be a huge task, or a wreck-the-
basic-features-of WSocket / WSocketE / WSocketS / HttpProt to take 
ICSLogger OUT of those ICS components, and get around the can't-
compile-with-D2 problem that way? I presume ICSLogger is something to 
log some information as packets travel back and forth? Can I live 
without it?

I'm not looking for a promise that I have the skill to take it out... 
but if you know it would be a futile exercise which would make any of 
the components I mentioned Just Not Work, I'd be grateful to be saved 
the time.

Tom

On 12 Aug 2007 at 19:08, Francois PIETTE wrote:

From:   Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Date sent:  Sun, 12 Aug 2007 19:08:00 +0200
Subject:Re: [twsocket] Help with re-install simply WSocket?
Send reply to:  ICS support mailing twsocket@elists.org
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

 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: twsocket@elists.org
 Sent: Sunday, August 12, 2007 6:33 PM
 Subject: [twsocket] Help with re-install simply WSocket?
 
 
  Sorry folks... Help?

  === 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.
  
  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...)
  


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


Re: [twsocket] Help with re-install simply WSocket?

2007-08-13 Thread Francois PIETTE
 Assignable Typed Constants

This is the correct option.

 ... but I could only get into that when I had a project open.

I don't remember very well D2, but the options for the library are for sure 
stored somewhere. If not, you can add in the offending source a compile time 
directive {$J+}. Normally this option is already somewhere in ICS source 
code.

-- 
[EMAIL PROTECTED]
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


[twsocket] Help with re-install simply WSocket?

2007-08-12 Thread TK Boyd
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


Re: [twsocket] Help with re-install simply WSocket?

2007-08-12 Thread TK Boyd
Thank you for the quick reply... especially in support of an old 
environment.

I wrestled a bit with your suggestion... no joy. Maybe I 
misunderstood. More in a moment.

First a little horn blowing to reassure you that you're not dealing 
with a complete idiot: I'm delighted to say that I HAVE managed to 
install some core elements of ICS in a Delphi 4 / Win98SE 
environment. With that, I accomplished the need it now job but 
I'd still like to solve the Install to Delphi 2 / Win98SE problem.

You advised that my problem could be because I need to change the 
options to have writable const. I tried... but I don't seem to have 
found the right thing. Is this a setting I make to my Delphi? Do I 
tweak the code from ics.zip?

The closest candidate I could find was in

Project - Options

... where there was a tickbox for

Assignable Typed Constants

... but I could only get into that when I had a project open.

Clarification of your suggestion would be welcome... sorry

Tom

On 12 Aug 2007 at 19:08, Francois PIETTE wrote:

From:   Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Date sent:  Sun, 12 Aug 2007 19:08:00 +0200
Subject:Re: [twsocket] Help with re-install simply WSocket?
Send reply to:  ICS support mailing twsocket@elists.org
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

 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: twsocket@elists.org
 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