Search found 1345 matches: execute

Return to advanced search

Re: xHarbour.org updated!

I need a reduced and self-contained sample that I can compile and execute here. In the meantime, you can try assigning these:

Code: Select all  Expand view
oCli:nDefaultPort = nPort
oCli:lSSL = .T.
by Enrico Maria Giordano
Tue Sep 19, 2023 8:01 am
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 156
Views: 37874

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

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: 1108

Re: Cuantas columnas tiene una tabla?

... Da lo mismo que uses MariaDb que MySql También googleando aseguran que está consulta devuelve el número de campos de una tabla Mysql. OCn:execute("SELECT TABLE_NAME, count( COLUMN_NAME ) FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'yourtable' AND table_schema = 'yourdatabase';") ...
by jvtecheto
Sat Sep 02, 2023 6:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cuantas columnas tiene una tabla? (SOLUCIONADO)
Replies: 6
Views: 452
PreviousNext

Return to advanced search