continue reading an open binary stream

I’ve opened a binary stream under one control and still can not continue to read the stream under another control.

(oddly I was able to do this with the same code in an older RealBasic app that I am converting to XOJO)

I get a nil object error when I try to continue reading the stream in another control.

The binary stream is globally available through a dimension statement contained in a module.

the reference to the stream must be in a scope accessible by both controls, and not closed by either until both are done

Somehow the scope had changed from global to private during the conversion. Fixed.

Thanks Dave.