IStream *iface, void const *pv, ULONG cb, ULONG *pcbRead) { + TRACE("\n"); domdoc *This = impl_from_IStream(iface); - return IStream_Write(This->stream,pv,cb,pcbRead); + if (!This->chunkParser){ + TRACE("1"); Remove unneeded TRACE statements. Best Regards Alistair Leslie-Hughes