Prof Abimbola Olowofoyeku wrote:
On 18 Mar 2002 at 13:42, Anuradha wrote:
Hello ,
It gives us 264 as size and capacity is 0.
Hmmm ... the capacity (AFAIK) should not be 0. I thought GPC defaults to a capacity of 255 when no capacity is supplied?
It does. The 264 is the result of `SizeOf' because the Capacity and Length fields and the space for a #0 terminator occupy additional space (4, 4 and 1 bytes on a 32 bit machine).
Frank