Help https with the TIpClientHttp() in xHarbour

Post Reply
dbmanfwh
Posts: 38
Joined: Tue Mar 04, 2008 3:44 pm
Location: Korea

Help https with the TIpClientHttp() in xHarbour

Post 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)
Regards,
Moon
FWH 16.11 | xHarbour | Harbour | BCC72 | DBF | ADS | MySQL | DrLib
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Help https with the TIpClientHttp() in xHarbour

Post 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 ***
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Help https with the TIpClientHttp() in xHarbour

Post 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
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Help https with the TIpClientHttp() in xHarbour

Post 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)
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Help https with the TIpClientHttp() in xHarbour

Post by Enrico Maria Giordano »

Marco Turco wrote:Solved, thank you Enrico for the inspiration :D
Great! Can you share the solution?

EMG
Post Reply