> Now I should realloc the icondir->idEntries array to
> (sizeof(ICONDIRENTRY) * icon->idCount). But how? Thanks.

You have to deallocate the previous buffer and allocate a new one.

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

I cook every chance in my pot. And only when it has been quite cooked do I
welcome it as my food.
-Thus Spoke Zarathustra, F. W. Nietzsche





Reply via email to