On 27 Sep 2002, [EMAIL PROTECTED] wrote: > @@ -3564,7 +3604,6 @@ > dis.rcItem.bottom = dis.rcItem.top + > infoPtr->nItemHeight; OffsetRect(&dis.rcItem, ptOrig.x, > 0); > > - ZeroMemory(&item, sizeof(item)); > item.iItem = nItem; > item.iSubItem = 0; > item.mask = LVIF_PARAM;
> @@ -5555,7 +5584,6 @@ > { > LVITEMW lvItem; > > - ZeroMemory(&lvItem, sizeof(lvItem)); > lvItem.mask = LVIF_INDENT; > lvItem.iItem = nItem; > lvItem.iSubItem = 0; With these two ZeroMemory calls removed, I'm getting crashes in Xnews due to the uninitialized pszText member. In both cases, it happens when LISTVIEW_GetItemT gets the LVITEMW structure and calls notify_dispinfoT (line 5186 or so). -- Paul Rupe "She smiled, in the end." p r u p e @ m y r e a l b o x . c o m | Oppose government police-ware on your PC! | Stop the Consumer Broadband and Digital Television Promotion Act! | <http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html>