Re: [twsocket] How to add custom commands to derived classes ofTFtpServer

2006-10-11 Thread Angus Robertson - Magenta Systems Ltd
> > 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.  

> At least it can be easily changed in V6 w/o any additional
> defines. 

In theory, except V6 currently has exactly the same legacy code and 
conditional defines as V5. 

Personnaly I'm quite happy for old compilers to be abandoned, but it's 
Francois's decision and he's not removed any old code yet. 

Angus
-- 
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] How to add custom commands to derived classes ofTFtpServer

2006-10-11 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
>> Why is FCmdTable declared as static array instead of dynamic
> 
> 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.

At least it can be easily changed in V6 w/o any additional
defines. 

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


> 
>> Also, why is it required to allocate + 5 items?
> 
> So a few new commands can be added within changing the code?
> Angus
-- 
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