Archived

This topic is now archived and is closed to further replies.

Beem

WriteFile to write to a data stream

Recommended Posts

Beem    127
In the Windows API is there a way to use the WriteFile function to write to a stream of data located in memory rather than a disk-file or stdout/stderr? And where can I find some good introductory information to using the Windows API Pipe Functions (eg. CreatePipe)?

Share this post


Link to post
Share on other sites
GaulerTheGoat    122
Write from memory to memory? Sounds like a job for memcpy (or CopyMemory).
Win32 System Services ISBN 0-13-022557-6 has a section on named (and unnamed) pipes. I haven''t read that section, however I found the rest of the book very simple and helpful.

Share this post


Link to post
Share on other sites