how to get IStream from char * or std::string?

mc 4,516 Reputation points
2024-09-13T09:04:54.2+00:00

now I want to use ID2D1DeviceContext5::CreateSvgDocument to create svg document.

and how to get IStream from char *?

I have svg and I do not want to write it to file.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,624 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,734 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.