On 27 April 2011 15:48, <joerg-cyril.hoe...@t-systems.com> wrote: > Andrew Eikum wrote: > >>>Does CoTaskMemFree match HeapAlloc? >>would anyone more familiar with CoTaskMem* want to comment?
CoTaskMemFree should be used on memory allocated with CoTaskMalloc (just like malloc/free, HeapAlloc/HeapFree, etc.). It is typically used for non-string COM data. - Reece