FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Help https with the TIpClientHttp() in xHarbour
Posts: 38
Joined: Tue Mar 04, 2008 03:44 PM
Help https with the TIpClientHttp() in xHarbour
Posted: Tue Jun 28, 2016 11:15 AM

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)

Regards,

Moon

FWH 16.11 | xHarbour | Harbour | BCC72 | DBF | ADS | MySQL | DrLib
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: Help https with the TIpClientHttp() in xHarbour
Posted: Sun Jul 03, 2016 03:31 PM

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 ***

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Help https with the TIpClientHttp() in xHarbour
Posted: Sun Jul 03, 2016 03:49 PM
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
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: Help https with the TIpClientHttp() in xHarbour
Posted: Sun Jul 03, 2016 04:47 PM

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)

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Help https with the TIpClientHttp() in xHarbour
Posted: Sun Jul 03, 2016 05:35 PM
Marco Turco wrote:Solved, thank you Enrico for the inspiration :-)


Great! Can you share the solution?

EMG

Continue the discussion