CopyString() does the same as strdup, except that it does so with the eC allocator (eSystem_New() or simply the new operator).
Memory allocated by strdup() should be freed by the C stdlib's free(), whereas memory allocated with CopyString() must be freed by the delete operator.
I am very glad you're loving eC more and more
![Smile :)](./images/smilies/icon_e_smile.gif)
It's been moving slowly lately as I'm doing contracting work to pay up for the years I spent working fulltime on eC/Ecere, but I have hopes to have more time to improve it all much further in a near future! I also hope the amount of contributors and contributions go up as time goes on!
An Ecere SDK package has also recently been uploaded to the Debian archives, we're awaiting approval to be part of Debian!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
All the best,
Jerome