NetApiBufferReallocate: - does not allocate memory when NULL is the original pointer passed in - frees memory when the new size is 0 HTH, --Juan __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/