
CHttpFile/CInternetFile has no valid FILE* or file handle
Hi,
I would likte to access remote files on the internet directly via file
pointers
net = new CInternetSession;
CStdioFile *file = net->OpenURL(aPath, 1, INTERNET_FLAG_TRANSFER_BINARY |
INTERNET_FLAG_EXISTING_CONNECT);
MyReadDataFromFile(file->m_pStream OR file->m_hFile);
However these members of CStdioFile are not properly set by OpenURL(). What
can I do?
Daniel