Re: Access a username/password protected url through C++
checking presense of a file "sort of" requires you to read it with HTTP. it might work with just the "HEAD" verb rather than the "GET" verb, but it depends which http server software you're using.
WinInet requires DLL's as well, but they're preinstalled on all versions of windows since Win2000. on something before Win2000 it won't work.
But your app will also need other system dlls, so self contained.. yes, if that's what you mean.
Re: Access a username/password protected url through C++
****!! It is so easy on Mac OS. I made it work quite fast (even I being an amateur) without any additional .dll files.
So, if I use WinInet, I can make it work without the user having to manually add any more .dll files?
Re: Access a username/password protected url through C++
Quote:
Originally Posted by
rui_mac
****!! It is so easy on Mac OS. I made it work quite fast (even I being an amateur) without any additional .dll files.
So, if I use WinInet, I can make it work without the user having to manually add any more .dll files?
You don't need to be concerned about dlls that get installed on Windows by default. The dlls needed for WinInet come installed on Win2000 and higher.
Re: Access a username/password protected url through C++
My main issue is to find code samples of how to access an protected url using WinInet and what to include in my code.
I'm a Mac OS X Xcode guy and I really only use Windows to compile my plugins to that platform. So, everything in Windows is a bit foreign to me.
Re: Access a username/password protected url through C++
Re: Access a username/password protected url through C++
Thank you. I will give it a try.
Re: Access a username/password protected url through C++
You might start trying with JScript to see if the approach really works, then you could implement it in C++.