c++ - Windows IStream interface on std::istream -
c++ - Windows IStream interface on std::istream -
within c++ on windows, there easy way create (com) istream
interface existing std::stream
object?
an illustration read image iwicstream::initializefromistream()
std::cin
.
there no standard implementation that. need write class (or find third-party one) implements istream
interface , internally delegates std::stream
needed. however, have problem implementing istream::stat()
, commonly used retrieve stream's info size. in case of std::cin
, not know how much info beingness provided.
c++ windows com istream
Comments
Post a Comment