Page 1 of 1
hbtipssl.lib
Posted: Sun Feb 20, 2022 10:03 am
by Enrico Maria Giordano
Dear friends, I need hbtipssl.lib. It is not in the official Harbour distribution. I already searched this forum but I haven't found a clear answer.
EMG
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 10:57 am
by cnavarro
Enrico, For which compiler?
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 11:12 am
by Enrico Maria Giordano
Right, sorry: BCC 7.40 32 bit.
EMG
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 3:59 pm
by Antonio Linares
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 4:03 pm
by Enrico Maria Giordano
Thank you, but I don't have Harbour source code.

EMG
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 4:10 pm
by Antonio Linares
Previous post updated to provide url to download it

You may get some unresolved externals. Please tell them
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 5:36 pm
by Enrico Maria Giordano
Thank you. No errors building the EXE but it can't read an SSL mailbox (the same code works fine using xHarbour). Here it is a sample:
Code: Select all | Expand
#include "Fivewin.ch"
FUNCTION MAIN()
GETMAIL( cServer, cUser, cPassword )
RETURN NIL
STATIC FUNCTION GETMAIL( cServer, cUser, cPassword )
LOCAL lOk := .F.
LOCAL oCli
oCli = TIPClientPOP():New( "pop://" + cUser + ":" + cPassword + "@" + cServer )
oCli:oUrl:cUserid = cUser
oCli:nDefaultPort = 995
oCli:lSSL = .T.
? oCli:Open()
? oCli:CountMail()
oCli:Close()
RETURN lOk
EMG
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 5:51 pm
by Antonio Linares
What error do you get ? How do you know that it is failing ?
Re: hbtipssl.lib
Posted: Sun Feb 20, 2022 7:01 pm
by Enrico Maria Giordano
I get:
.F.
-1
while using xHarbour I get:
.T.
0
that is the right result.
EMG
Re: hbtipssl.lib
Posted: Mon Feb 21, 2022 9:02 am
by Enrico Maria Giordano
Sorry, I just edited my sample (using standard FW include now).
EMG
Re: hbtipssl.lib
Posted: Tue Feb 22, 2022 9:53 pm
by Enrico Maria Giordano
Any ideas?
EMG
Re: hbtipssl.lib
Posted: Mon Feb 28, 2022 9:10 am
by Enrico Maria Giordano
I'm still stucking on this problem. Do I have to give up with Harbour and SSL?
EMG