Re: [twsocket] DLL implementation advice (or example)...

2011-09-17 Thread Francois PIETTE
I see. The idea is the usage of the widestring just as a easy way to call the, behind the scene, SysAllocString and SysFreeString, that we need in this case. But we can always treat it as a buffer, setting its length, and moving data, explicitly, without casting. In my opinion, it is ALWAYS a

Re: [twsocket] DLL implementation advice (or example)...

2011-09-17 Thread RTT
On 17-09-2011 09:56, Francois PIETTE wrote: I see. The idea is the usage of the widestring just as a easy way to call the, behind the scene, SysAllocString and SysFreeString, that we need in this case. But we can always treat it as a buffer, setting its length, and moving data, explicitly,