Page 1 of 1
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Posted: Sun Oct 10, 2021 2:42 am
by Sherlock
re Wolfgang Riedmann - winHTTP class
snip[ the main issue why I wrote the winHttp class is that WinInet is not > supported in Windows services, and I needed that: ]
Your class a bit more, samples and good tutorial site for programmers.
http://www.sherlock.com.au/sherlock32/T ... TPCall.zip
Hope others get good use out of this code.. we used it extensively. use the class use the function, it all works.
Phil McGuinness
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Posted: Sun Oct 10, 2021 1:03 pm
by wriedmann
Hi Phil,
hopefully this class works also for others.
As I explained on the NG: the cHTTP class in VO uses the Internet Explorer libraries, whereas the winHttp calls are native to Windows.
winHttp has also native support for https - in the cHttp class you have to make changes to have it work.
On the other side: cHTTP has also support for FTP downloads . winHttp does not.
If someone has requirements for a better API to webservices I would strongly recommend to write that in .NET (maybe in X#) and use it in VO through COM. .NET not only has a better http functionality, but also integrated JSON coding/decoding functionalities - things that you have to write in VO manually.
Wolfgang
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Posted: Sun Oct 10, 2021 10:34 pm
by Sherlock
Will only replace call for services from our HTTPCALL() to winHTTPCALL()....... as all other aspects of web classes work including cHTTP...... but not as service anymore.
We do use some com for .NET but do not need to make it any more complex than it needs to be.
The wrapper to API calls is fine.
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Posted: Thu Jan 06, 2022 1:55 am
by ny
Have used winHTTPCALL with great success but I have a client with Windows 7. I know they should be using 10 or 11 but can they download a .net component or something so winHTTPCALL will work?
Regards, Neale
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Posted: Thu Jan 06, 2022 11:31 am
by wriedmann
Hi Neale,
AFAIK winHttp works also with Windows 7, and the Microsoft documentation says that it is available starting with Windows XP.
Wolfgang