Re: [twsocket] parameter error in twsocket w/d2

2007-11-26 Thread Francois Piette
> I am using Delphi 2 c/s. I also got the "cannot assign to a read-only
> property" error when installing cslogger.pas. I found the following
> fix in one of the threads:

Just add the compiler option "writable constant" in the project options (Or
{$J+} in the offending source code if memory serve me well).

> Any suggestions?

Update your Delphi, preferably to the current version (Delphi 2007).

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Monday, November 26, 2007 11:01 PM
Subject: [twsocket] parameter error in twsocket w/d2


> I am using Delphi 2 c/s. I also got the "cannot assign to a read-only
> property" error when installing cslogger.pas. I found the following
> fix in one of the threads:
>
> "You can remove the offending line and /ADD/ the following two lines at
the
> beginning of InternalOpenLogFile, just after InternalCloseLogFile:
>
>  if (FLogFileOption = lfoOverwrite) and FileExists(FLogFileName) then
>  DeleteFile(FLogFileName);"
>
> Now I get a fatal 'actual and formal var parameter must be identical'
> error in wsocket.pas at line:
>
> Status := WSocket_WSAIoctl(FHSocket,  SIO_KEEPALIVE_VALS,
> @KeepAliveIn,  SizeOf(KeepAliveIn),
> @KeepAliveOut, SizeOf(KeepAliveOut),
> BytesReturned, nil, nil);
>
> Any suggestions?
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] parameter error in twsocket w/d2

2007-11-26 Thread Ron
I am using Delphi 2 c/s. I also got the "cannot assign to a read-only  
property" error when installing cslogger.pas. I found the following  
fix in one of the threads:

"You can remove the offending line and /ADD/ the following two lines at the
beginning of InternalOpenLogFile, just after InternalCloseLogFile:

 if (FLogFileOption = lfoOverwrite) and FileExists(FLogFileName) then
 DeleteFile(FLogFileName);"

Now I get a fatal 'actual and formal var parameter must be identical'  
error in wsocket.pas at line:

Status := WSocket_WSAIoctl(FHSocket,  SIO_KEEPALIVE_VALS,
@KeepAliveIn,  SizeOf(KeepAliveIn),
@KeepAliveOut, SizeOf(KeepAliveOut),
BytesReturned, nil, nil);

Any suggestions?

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be