hbtipssl.lib

hbtipssl.lib

Postby Enrico Maria Giordano » Sun Feb 20, 2022 10:03 am

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
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hbtipssl.lib

Postby cnavarro » Sun Feb 20, 2022 10:57 am

Enrico, For which compiler?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: hbtipssl.lib

Postby Enrico Maria Giordano » Sun Feb 20, 2022 11:12 am

Right, sorry: BCC 7.40 32 bit.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hbtipssl.lib

Postby Antonio Linares » Sun Feb 20, 2022 3:59 pm

Dear Enrico,

Here it is explained how to build it:
http://forums.fivetechsupport.com/viewtopic.php?p=245715&sid=3b2145523f315598c7ef11fc611d3ac5&sid=3b2145523f315598c7ef11fc611d3ac5#p245715

hbtipssl.hbp
Code: Select all  Expand view
-env:HB_TIP_OPENSSL=yes
hbtip.hbp


c:\harbour\bin\win\bcc\hbmk2 hbtipssl.hbp -comp=bcc

Here you have it already built:
https://github.com/FiveTechSoft/Harbour_builder/tree/master/win32_hbtipssl
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: hbtipssl.lib

Postby Enrico Maria Giordano » Sun Feb 20, 2022 4:03 pm

Thank you, but I don't have Harbour source code. :-(

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hbtipssl.lib

Postby Antonio Linares » Sun Feb 20, 2022 4:10 pm

Previous post updated to provide url to download it :-)

You may get some unresolved externals. Please tell them
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: hbtipssl.lib

Postby Enrico Maria Giordano » Sun Feb 20, 2022 5:36 pm

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 view
#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
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hbtipssl.lib

Postby Antonio Linares » Sun Feb 20, 2022 5:51 pm

What error do you get ? How do you know that it is failing ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: hbtipssl.lib

Postby Enrico Maria Giordano » Sun Feb 20, 2022 7:01 pm

I get:

.F.
-1

while using xHarbour I get:

.T.
0

that is the right result.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: hbtipssl.lib

Postby Enrico Maria Giordano » Mon Feb 21, 2022 9:02 am

Sorry, I just edited my sample (using standard FW include now).

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Re: hbtipssl.lib

Postby Enrico Maria Giordano » Mon Feb 28, 2022 9:10 am

I'm still stucking on this problem. Do I have to give up with Harbour and SSL?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8709
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 46 guests