CheeseCrusader
Programmer
hi, I'm trying to save a file to disk using CStdioFile class, and I can't seem to figure out how to make it work.
the data I want to save is actually in a CInternetFile* returned by the OpenUrl method of CInternetSession, but when I tried any of the methods such as Read() or GetLength() (hoping to Write the results into a regular CFile) nothing worked. I understand the object also has a member of type FILE* called m_pStream, so maybe that could be another means of getting at the data? please help!