Re: [twsocket] ZOMBIE established connections netstat -a

2008-11-07 Thread wayne forrest
Thank you, for the information Francois and Fastream. On Thu, Nov 6, 2008 at 11:50 PM, Francois PIETTE [EMAIL PROTECTED]wrote: I have monitored the connection, and I see that there are a lot of TCP retransmissions, eventually the connections get cleaned up, but this takes some time. IS

[twsocket] Proposal to replace TIniFile by TRegIniFile in all v7 demo applications

2008-11-07 Thread Arno Garrels
Hi, Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. TInifile uses Win32 API functions which do not support Unicode, any string is converted to ANSI implicitly. TMemIniFile won't be a solution since Delphi 2009 UPD 1 did not fix a bug with

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in all v7demo applications

2008-11-07 Thread Arno Garrels
Arno Garrels wrote: how would you manually maintain, for example, a UTF-8 file name? OK, notepad could do the trick ;-) Hi, Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. TInifile uses Win32 API functions which do not support

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in all v7 demo applicati

2008-11-07 Thread Angus Robertson - Magenta Systems Ltd
Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. The demo INI files normally only hold form positions, tick boxes, etc, rarely anything that needs to be stored in Unicode. The demos also need to remain compatible with D7. So I suggest

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applicati

2008-11-07 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. The demo INI files normally only hold form positions, tick boxes, etc, rarely anything that needs to be stored in Unicode. Your new account

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7demo applicati

2008-11-07 Thread Paul
- Original Message - From: Arno Garrels [EMAIL PROTECTED] There's no problem if you write to HKCU. But current INI files are stored 'virtualized' in Vista. you can use folder CSIDL_LOCAL_APPDATA istead of CSIDL_APPDATA Paul -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic

2008-11-07 Thread Angus Robertson - Magenta Systems Ltd
Your new account INI files as well as other INI files contain file names. But I doubt any developers will be using non-ANSI file names. I also like to be able to copy some arbitrary text (Japanese looks so nice) into SMPT demo's message text Memo and get that restored. Mail is a

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in all v7 demo applications

2008-11-07 Thread Franz-Leo Chomse
So I suggest to use the registry with a key under HKCU Software\FPiette\ICS\Demos\ instead, thast would resolve problems with UAC in Vista as well. None of my programs is allowed to use the registry. Regards from Germany Franz-Leo -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic

2008-11-07 Thread Hoby Smith
@Angus said... I use a CONFIG suffix so the OS does not mess with my files. Angus, can you please elaborate on that? I am not sure what you are referring to. Sounds like a way to keep Vista from virtualizing files? Thanks... Hoby -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7demo applic

2008-11-07 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Your new account INI files as well as other INI files contain file names. But I doubt any developers will be using non-ANSI file names. I had to use them frequently when I was testing Unicode. It's just annoying that you have to reenter those

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic

2008-11-07 Thread Angus Robertson - Magenta Systems Ltd
I use a CONFIG suffix so the OS does not mess with my files. Angus, can you please elaborate on that? I am not sure what you are referring to. Sounds like a way to keep Vista from virtualizing files? I've really not looked into this stuff since Vista came out, but the main issue is

Re: [twsocket] FTP Problem on LIST Error 10048

2008-11-07 Thread Arnold FLUTEAUX
Hi, I use the V5 ICS package (the date in the readme.txt file is May 01 2006) For the server, I use the V5 ICS package with Delphi 7 (ftpsrv.pas is on version V1.47) For the client, I use also V5 but with Delphi 2005 in .NET. (overbyte.ics.ftpclient.pas is on version V2.97) And in

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applic

2008-11-07 Thread Hoby Smith
Angus said... and called them .config, but that was probably a red herring, sorry Yeah, virtualization I get. Sorry, thought you were eluding to some super secret Microsoft convention for telling Vista to ignore a file using config in some magical way (name, reg key, etc). That would have

Re: [twsocket] Proposal to replace TIniFile by TRegIniFilein allv7 demo applic

2008-11-07 Thread Arno Garrels
Hoby Smith wrote: Angus said... and called them .config, but that was probably a red herring, sorry Yeah, virtualization I get. Sorry, thought you were eluding to some super secret Microsoft convention for telling Vista to ignore a file using config in some magical way (name, reg key,

[twsocket] IsAddressValid

2008-11-07 Thread crazdcodr
The procedure IsAddressValid in the ICS demo project HttpChk works well to check the validity of a URL, but it is very laggy. If you want to do checks on multiple websites it is much too lengthy/laggy. Is there a better solution for checking the validity of a URL? -- Be Yourself @ mail.com!

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in all v7 demo applications

2008-11-07 Thread Maurizio Lotauro
Scrive Arno Garrels [EMAIL PROTECTED]: Hi, Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. TInifile uses Win32 API functions which do not support Unicode, any string is converted to ANSI implicitly. TMemIniFile won't be a solution