winHTTPcall() and winHTTP{} and samples, link to WEB tutorial

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
Sherlock
Posts: 63
Joined: Mon Sep 28, 2015 1:37 pm
Location: Australia mate... fare dikkum

winHTTPcall() and winHTTP{} and samples, link to WEB tutorial

Post 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
Phil McGuinness
User avatar
wriedmann
Posts: 3754
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

winHTTPcall() and winHTTP{} and samples, link to WEB tutorial

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Sherlock
Posts: 63
Joined: Mon Sep 28, 2015 1:37 pm
Location: Australia mate... fare dikkum

winHTTPcall() and winHTTP{} and samples, link to WEB tutorial

Post 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.
Phil McGuinness
ny
Posts: 6
Joined: Tue Oct 06, 2020 10:23 am

winHTTPcall() and winHTTP{} and samples, link to WEB tutorial

Post 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
User avatar
wriedmann
Posts: 3754
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

winHTTPcall() and winHTTP{} and samples, link to WEB tutorial

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply