Search found 60 matches: vbs

Return to advanced search

Re: Execute php or vbs code

Can you send me a very little PRG example to test it here? Enrico, Antonios example: #include "c:\harbour\contrib\hbcurl\hbcurl.ch" function Main() curl_global_init() ? "Hello world" ? callPHP( "www.fivetechsoft.com/getip.php" ) curl_global_cleanup() return nil functio...
by wartiaga
Sun Sep 03, 2023 2:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code



Antonio,

I made some progress but this line below hCurl is returning "ValToChar not suported type yet"

hCurl := curl_easy_init()

Any idea?
by wartiaga
Sat Sep 02, 2023 10:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Can you send me a very little PRG example to test it here?
by Enrico Maria Giordano
Sat Sep 02, 2023 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Enrico Maria Giordano wrote:Right. Try libcurl.lib from FWH lib directory.


Good, no error, but in execution gives: Unrecoverable error 9011 - hb_xfree called with null pointer
Thank you!
by wartiaga
Sat Sep 02, 2023 3:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Right. Try libcurl.lib from FWH lib directory.
by Enrico Maria Giordano
Sat Sep 02, 2023 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Enrico Maria Giordano wrote:FWH 11.05? Very very old (May 2011). Could it be the reason for the errors? Antonio?


Error: Unresolved external 'WSAIoctl' referenced from D:\LANG\FWH1105\XH1.2.1\LIB\HBCURL.LIB|hbcurl

In this case I found the solution linking ws2_32.lib

But others I think need to link others lib.
by wartiaga
Sat Sep 02, 2023 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

FWH 11.05? Very very old (May 2011). Could it be the reason for the errors? Antonio?
by Enrico Maria Giordano
Sat Sep 02, 2023 3:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Here it is: https://wormhole.app/6lE98#DrUiOoCwc3x7kgJ2O-EDDA Enrico, using Antonio's example, I have several errors. Need some other lib? Error: Unresolved external 'WSAIoctl' referenced from D:\LANG\FWH1105\XH1.2.1\LIB\HBCURL.LIB|hbcurl Error: Unresolved external '_curl_global_init_mem' r...
by wartiaga
Sat Sep 02, 2023 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Enrico Maria Giordano wrote:Here it is:

https://wormhole.app/6lE98#DrUiOoCwc3x7kgJ2O-EDDA


Thank You Enrico!
by wartiaga
Sat Sep 02, 2023 2:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Enrico Maria Giordano wrote:You have to build it yourself. From winmake\readme.txt:

Code: Select all  Expand view
SET HB_DIR_CURL=<install dir>
Required to build hbcurl.lib
Download URL: http://curl.haxx.se/


Enrico,
I tried to compile xharbour and curl and got several errors, can you send me the lib already compiled? Thanks.
by wartiaga
Sat Sep 02, 2023 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Antonio, did you receive hbcurl.lib for xHarbour? I've sent it to you yesterday on 23:28.
by Enrico Maria Giordano
Sat Sep 02, 2023 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

You have to build it yourself. From winmake\readme.txt:

Code: Select all  Expand view
SET HB_DIR_CURL=<install dir>
Required to build hbcurl.lib
Download URL: http://curl.haxx.se/
by Enrico Maria Giordano
Fri Sep 01, 2023 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106

Re: Execute php or vbs code

Enrico may help us on this

Enrico do you know where to get it ? many thanks
by Antonio Linares
Fri Sep 01, 2023 7:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Execute php or vbs code
Replies: 18
Views: 1106
Next

Return to advanced search