On Fri, 21 Nov 2003, Dimitrie O. Paun wrote: [...] > ./dlls/shell32/shell32_main.c: hargv=GlobalReAlloc(hargv, size, 0);
This one is needed because the caller is going to free the allocated memory using GlobalFree: > Allocate in a single lump, the string array, and the strings that go > with it. This way the caller can make a single GlobalFree call to free > both, as per MSDN. -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ The greatest programming project of all took six days; on the seventh day the programmer rested. We've been trying to debug the *&^%$#@ thing ever since. Moral: design before you implement.
