Search found 226 matches: hbcurl

Return to advanced search

Re: HBCURL.LIB

Thanks

Now it compiled OK.

Regards

ACWoo
by acwoo1
Sat Apr 20, 2024 12:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBCURL.LIB
Replies: 2
Views: 110

Re: HBCURL.LIB

Dear ACWoo, Use the right hbcurl.lib Harbour and bcc 7.7: https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_bcc770_32_20240417.zip Harbour and MSVC32: https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_msvc2022_32_20240417.zip ...
by Antonio Linares
Fri Apr 19, 2024 5:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBCURL.LIB
Replies: 2
Views: 110

HBCURL.LIB

Hi. How to solve the problem:

Error: Unresolved external '_hb_gcAlloc' referenced from C:\HARBOUR1510\LIB\HBCURL.LIB|hbcurl
Error: Unresolved external '_hb_storclenAdopt' referenced from C:\HARBOUR1510\LIB\HBCURL.LIB|hbcurl

Regards
ACWoo
FWH1510+bcc582
by acwoo1
Thu Apr 18, 2024 10:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBCURL.LIB
Replies: 2
Views: 110

compile errors - send a SMS

Hi all, I'm trying to compile a sample of using curl with Twilio. I've linked in hbcurl.lib, libcurl.lib and hbcurl.ch I get the following errors. Anyone know what I'm missing? Turbo Incremental Link 6.80 Copyright (c) 1997-2017 Embarcadero Technologies, ...
by Jeff Barnes
Thu Apr 11, 2024 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: compile errors - send a SMS
Replies: 19
Views: 299

Re: How to include hbCurl?

Marc, I think you need tags: { name: "tag1", Best regards, Otto Not tested: cresponse  := "["cresponse  += "{" + '"name":'   + '"' + 'name default'      + '",'cresponse  += '"CurlPath":'     &nbs...
by Otto
Wed Mar 20, 2024 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

I went in conversation with ChatGPT )))) I have to say... that guy has patience :D :D But we didn't get the solution. Last try was this : *** Hard coded test tag)   cTagName := "tag1"   // De naam van de tag   cTagStatus := "active"  // De status...
by Marc Venken
Wed Mar 20, 2024 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Marc, have yout tried the answer ChatGPT gives you? Best regards, Otto It seems like you're trying to add tags to a member in a MailChimp list using the MailChimp API and curl in a command line environment. The issue appears to be with the way you're formatting the JSON data in your curl command. Le...
by Otto
Wed Mar 20, 2024 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

I can read several data with the API, but struggle with the one that can change a TAG (like a groupname) into Mailchimp. This is working, and I get the tags from a email DCOM := 'cmd /c curl -sS https://us8.api.mailchimp.com/3.0/lists/'+cLists+'/members/'+cSecure_Email+'/tags --user anystring:'+cApi...
by Marc Venken
Tue Mar 19, 2024 10:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Otto, Thanks for the sample.

I got it working now to read with cUrl...

Now digging into the hard part of getting all elements :D
by Marc Venken
Sat Mar 09, 2024 8:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Marc, you can redirect to a file: clogrooms and then read with memoread. Regards, Otto DCOM := 'cmd /c "' +; cCurlPath + 'curl.exe -u username:password -i -k -F "fileToUpload=@' +; aSrc[I] + '" -F "uploadDirectory=' + cuploadDirectory + '" ' +; cEndpointRooms + ' > ' +; c...
by Otto
Fri Mar 08, 2024 10:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Otto, I include, in a .mak file, the following: echo $(HBDIR)\lib\hbtipssl.lib >> msvc.tmp echo $(HBDIR)\lib\hbcurl.lib >> msvc.tmp echo $(HBDIR)\lib\libcurl.lib >> msvc.tmp I do my builds with Harbor and MSVC It works fine. Also include the libcurl.dll It also ...
by Marc Venken
Fri Mar 08, 2024 10:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Hello friends, Thank you for your help. I have now solved it with the command prompt Exe. On this occasion, I started creating the setup program with webview2 and fivewin. Fortunately, I had already made a patcher and preprocessor before ChatGPT. Now, this is a very functional way to simplify the pr...
by Otto
Thu Mar 07, 2024 7:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

HI,
you can generate C code from the CURL command line
adding "--libcurl filename.c" to the end of the command line

below is an example:
curl http://example.com --libcurl example.c

look at the link
https://everything.curl.dev/libcurl/libcurl
by vensanto
Wed Mar 06, 2024 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Otto wrote:Hello friends,

How to include hbCurl? Is it working in xHarbour, too?

Best regards,
Otto


Hi Otto,

Yes, it is working with xHarbour too. You have to link hbcurl.lib and libcurl.lib. Then you must have libcurl.dll in the same folder of the EXE (or in the path, of course).
by Enrico Maria Giordano
Sun Mar 03, 2024 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949

Re: How to include hbCurl?

Dear Otto,

> What are the disadvantages of shellExec()?

I guess the only problem is that the user does not have curl.exe installed or at the right path
by Antonio Linares
Sun Mar 03, 2024 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 2949
Next

Return to advanced search