Originally posted here by sec_ware

dwReserved has to be zero.
I did put it in as zero and removed it from being passed into the function, and I also removed the ones that would be NULL. So all I would have to do is pass the URL and the file name, because the others are already taken care of...or at least thats what I was trying to do. That is why the URL function has only:
(LPCTSTR szURL, LPCTSTR szFileName)
because thats all it needs that would change anything. So why isn't what I'm trying to do working?