How to will "string" type convert "IStream" type in MFC frammework
heyangben
81
Reputation points
In MFC framework
I want to Load JPG images into “picture Control“ Control by calling "CImage. Load (IStream*)", but I don't know how to convert string to IStream, does anyone know how to solve this problem? I don't want to save it locally and then Load it by calling "CImage. Load (LPCTSTR)". I just want to load picture in memory
Or there are other ways to implement this requirement?
I just don't want to save it locally
I want to load it directly into "Picture Control" Control
Sign in to answer