CForwardOnlyEventingReadStream not fire read event

Editorial architecture visual showing system boundaries, service interaction, and technical tradeoffs

Had this problem before, the CForwardOnlyEventingReadStream instance returned from pipeline component does not fire the Read event. After checking Microsoft’s implementation, it turns out my custom stream object has to implement the Position property.

image

After update my custom stream class to return a valid position, the read event is working again.

Next step

Need this reviewed in a real system?

Use the article as a starting point, then bring the actual decision, constraints, and failure paths into an architecture review.

Join the discussion

Sign in to comment. Signed-in comments appear immediately.

Join the discussion