Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2007 Jan : Download a PDF
| Subject: | Download a PDF |
| Posted by: | "null" (nu..@no.net) |
| Date: | Mon, 22 Jan 2007 16:00:46 |
I have used the InternetOpen, InternetOpenUrl, and InternetReadFile
functions to retrieve the following into my C++ program.
<html>
<head>
<script language="javascript">
if (window.focus) { window.focus() }
</script>
</head>
<frameset rows="*,1" frameborder=no>
<frame
src="/cgi-bin/upload.dll/file.pdf?95a95b483bd74dac9d49f88570927c28"
noresize>
<frame src="blank.asp">
</frameset>
</html>
What wininet functions do I use to retrieve the contents of file.pdf so
that I can write it to a file so that I can read it with Adobe? Using
Windows XP sp2 if that matters.