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
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Phil McGuinness
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
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
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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
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.
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.
Phil McGuinness
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
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
Regards, Neale
winHTTPcall() and winHTTP{} and samples, link to WEB tutorial
Hi Neale,
AFAIK winHttp works also with Windows 7, and the Microsoft documentation says that it is available starting with Windows XP.
Wolfgang
AFAIK winHttp works also with Windows 7, and the Microsoft documentation says that it is available starting with Windows XP.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it