Page 1 of 1

Help https with the TIpClientHttp() in xHarbour

Posted: Tue Jun 28, 2016 11:15 am
by dbmanfwh
Everybody,

I'm using xHarbour.
It is not possible to read a https url with the TIpClientHttp().
Http url is work fine.
Help me please.

Please send by e-mail if there is necessary file. 0123455 at hanafos dot com
( I have not tipssl.lib, libeay32.lib, ssleay32.lib)

Re: Help https with the TIpClientHttp() in xHarbour

Posted: Sun Jul 03, 2016 3:31 pm
by Marco Turco
I have the same problem.
I've got the tipssl code from contrib but I have been unable to generate the lib


k:\BCC70\Bin\Bcc32.Exe -DHB_NO_DEFAULT_API_MACROS -M -c -O2 -e -tW -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_USED -DHB_FM_STATISTICS_OFF -D__HARBOUR__ -DSQLITE_HAS_CODEC=1 -DSQLITE_THREADSAFE=0 -Ik:\BCC70\Include;k:\XHARBOUR\Include -nK:\tipssl\Obj K:\tipssl\inetssl.c

Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
K:\tipssl\inetssl.c:
Error E2141 K:\tipssl\inetssl.h 1: Declaration syntax error
Error E2206 K:\tipssl\inetssl.h 4: Illegal character '@' (0x40)
Error E2141 K:\tipssl\inetssl.h 7: Declaration syntax error
Error E2141 K:\tipssl\inetssl.h 9: Declaration syntax error
Error E2141 K:\tipssl\inetssl.h 13: Declaration syntax error
Error E2141 K:\tipssl\inetssl.h 18: Declaration syntax error
Error E2303 k:\bcc70\include\windows\crtl\stdlib.h 349: Type name expected
Error E2209 K:\tipssl\inetssl.h 93: Unable to open include file 'openssl/ssl.h'
Error E2209 K:\tipssl\inetssl.h 94: Unable to open include file 'openssl/err.h'
Error E2209 K:\tipssl\inetssl.h 95: Unable to open include file 'openssl/rand.h'
Error E2209 K:\tipssl\inetssl.h 96: Unable to open include file 'openssl/bio.h'
Error E2209 K:\tipssl\inetssl.h 97: Unable to open include file 'openssl/sha.h'
Error E2209 K:\tipssl\inetssl.h 98: Unable to open include file 'openssl/hmac.h'
Error E2209 K:\tipssl\inetssl.h 99: Unable to open include file 'openssl/evp.h'
Error E2209 K:\tipssl\inetssl.h 100: Unable to open include file 'openssl/bio.h'
Error E2209 K:\tipssl\inetssl.h 101: Unable to open include file 'openssl/buffer.h'
Error E2139 K:\tipssl\inetssl.h 117: Declaration missing ;
Error E2139 K:\tipssl\inetssl.h 118: Declaration missing ;
Error E2139 K:\tipssl\inetssl.h 119: Declaration missing ;
Error E2139 K:\tipssl\inetssl.h 120: Declaration missing ;
Error E2451 K:\tipssl\inetssl.c 51: Undefined symbol 'X509_V_OK'
Error E2141 K:\tipssl\inetssl.c 52: Declaration syntax error
Error E2293 K:\tipssl\inetssl.c 94: ) expected
*** 23 errors in Compile ***

Re: Help https with the TIpClientHttp() in xHarbour

Posted: Sun Jul 03, 2016 3:49 pm
by Enrico Maria Giordano
Marco Turco wrote:I have the same problem.
I've got the tipssl code from contrib but I have been unable to generate the lib


k:\BCC70\Bin\Bcc32.Exe -DHB_NO_DEFAULT_API_MACROS -M -c -O2 -e -tW -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_USED -DHB_FM_STATISTICS_OFF -D__HARBOUR__ -DSQLITE_HAS_CODEC=1 -DSQLITE_THREADSAFE=0 -Ik:\BCC70\Include;k:\XHARBOUR\Include -nK:\tipssl\Obj K:\tipssl\inetssl.c

Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
K:\tipssl\inetssl.c:
Error E2141 K:\tipssl\inetssl.h 1: Declaration syntax error
One step at a time. What is in line 1 of your inetssl.h?

EMG

Re: Help https with the TIpClientHttp() in xHarbour

Posted: Sun Jul 03, 2016 4:47 pm
by Marco Turco
Solved, thank you Enrico for the inspiration :D

I put tIpssl lib and additional ssl libs at www.softwarexp.co.uk/beta/tipssl.zip if anyone need it (BCC5.8)

Re: Help https with the TIpClientHttp() in xHarbour

Posted: Sun Jul 03, 2016 5:35 pm
by Enrico Maria Giordano
Marco Turco wrote:Solved, thank you Enrico for the inspiration :D
Great! Can you share the solution?

EMG