Angus Robertson - Magenta Systems Ltd wrote:
>>> Because ICS has to support versions of Delphi that don't support
>>> dynamic arrays.
>> 
>> But any Delphi version supports conditional compilation, which
>> is already used in ICS frequently, no big deal.
> 
> Sure you can add conditional code, provided the new commands you want
> to add using the dynamic array are also conditional.

It's the same as with any other version-dependent features, they are
supported by certain compiler versions only, no reason to not use
conditional compilation. In new projects I'm using V6 anyway.

BTW: I also modified the V6 FTP server to support multiple listening
TWSockets. Implemented as TServerSockets : TOwnedCollection,
and TServerSocket: TCollectionItem. I made it conditional compilable
so if the define isn't set existing code won't be broken. But there
are only very few changes necessary in existing code if you use the
new feature (I adjusted the SSL stuff accordingly). When my new project
is finished and tested successfully (may take a while) I like to make
it available, if ICS users think it's usefull.   


---
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

Reply via email to