How to cast a pointer of memory block to std stream

Posted by Shahrooz Kia on Stack Overflow See other posts from Stack Overflow or by Shahrooz Kia
Published on 2010-05-18T09:18:04Z Indexed on 2010/05/18 9:20 UTC
Read the original article Hit count: 170

Filed under:
|
|
|
|

I have programed an application on windows XP and in Visual Studio with c++ language.

In that app I used LoadResource() API to load a resource for giving a file in the resource memory.

It returned a pointer of memory block and I wanna cast the pointer to the std stream to use for compatibility.

Could anyone help me?

© Stack Overflow or respective owner

Related posts about stream

Related posts about load