Re: [xHarbour-developers] 2009-08-08 14:54 UTC-0800 Augusto Infanteaugusto.infa...@xharbour.com

2009-08-09 Thread Enrico Maria Giordano

-Messaggio Originale- 
Da: Augusto Infante augusto.infa...@xharbour.com
A: 'Enrico Maria Giordano' e.m.giord...@emagsoftware.it; 'xHarbour 
Developers Mailing List' xharbour-developers@lists.sourceforge.net
Data invio: sabato 8 agosto 2009 23.58
Oggetto: [xHarbour-developers] 2009-08-08 14:54 UTC-0800 Augusto 
Infanteaugusto.infa...@xharbour.com


 2009-08-08 14:54 UTC-0800 Augusto Infante augusto.infa...@xharbour.com
  * c:\xHarbour\source\rtl\win32ole.prg
! Fixed Warning W8004 source\\rtl\\win32ole.prg 2852: 'pDisp' is
 assigned
  a value that is never used in function HB_FUN_TOLEAUTO_ONERROR.

Thank you.

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


[xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 Luiz Rafael Culik luiz at xharbour.com.br

2009-08-09 Thread Luiz Rafael Culik Guimaraes
  !common.mak
   makefile.bc
!changed to compile tipssl
set the HB_DIR_OPENSSL envar to openssl install directory
  ! Changelog
! Renamed to ChangeLog.029 and started an new One

  + contrib/tipssl/client.prg
  + contrib/tipssl/httpcln.prg
  + contrib/tipssl/mail.prg
  + contrib/tipssl/popcln.prg
  + contrib/tipssl/sendmail.prg
  + contrib/tipssl/smtpcln.prg
  + contrib/tipssl/inetssl.c
  + contrib/tipssl/inetssl.h
* Added Code to support ssl connection for http/smtp/pop3

  + contrib/tipssl/Makefile
  + contrib/tipssl/test.prg
* sample to desmostrate on how to use gmail ans yahoo server
For windows, you need to install open ssl
just install
http://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe and

http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
To get certificates from an site is easy
once openssl is instaled ( in my machine i've added v:\openssl\bin to my 
path envar do )
openssl s_client -connect -showcerts
for example
to get yahoo pop3 certificate
openssl s_client pop.mail.yahoo.com:995 -showcerts 2 21 (to terminate 
prest CTRL+C
open the 2 file
copy all content between -BEGIN CERTIFICATE-/-END 
CERTIFICATE- inclusive
this lines to one file ( if more then one occurence, create an file to 
each one
save each file in openssl\bin\certs with .pem extension. in linux save 
the files to  /etc/ssl/certs

open an dos shell
under windows do

go top openssl\bin\certs
run openssl x509 -hash -fingerprint -noout -in fileyousaved.pem
copy fileyousave.pem to hash returned on command above
example
if you save the file as gmail.pem do
V:\OpenSSL\bin\PEM..\openssl x509 -hash -fingerprint -noout -in 
gmail.pem
7f549ca4   NOTE this number
SHA1 
Fingerprint=51:21:45:CE:CE:99:19:87:7D:CE:3F:52:C0:31:0F:7E:FB:B4:6A:6F
then copy gmail.pem to 7f549ca4.0
under linux
execute the c_rehash command

Regards
Luiz 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 Luiz Rafael Culik luiz at xharbour.com.br

2009-08-09 Thread Patrick Mast, xHarbour.
Hey Luiz,

Thanks for this contribution!

This is what I've done:
1. Download and install Microsoft Visual C++ 2008 Redistributable Package (x86)
2. Download and install Win32OpenSSL-0_9_8k.exe
3. SET HB_DIR_OPENSSL = C:\OpelSSL
4. Run C:\xHarbour\make_b32.bat all

But I can't find TIPSSL.LIB anywhere.

What am I missing?
Thanks!

Patrick

On Sun, Aug 9, 2009 at 7:31 PM, Luiz Rafael Culik
Guimaraesl...@xharbour.com.br wrote:
  !common.mak
   makefile.bc
    !changed to compile tipssl
    set the HB_DIR_OPENSSL envar to openssl install directory
  ! Changelog
    ! Renamed to ChangeLog.029 and started an new One

  + contrib/tipssl/client.prg
  + contrib/tipssl/httpcln.prg
  + contrib/tipssl/mail.prg
  + contrib/tipssl/popcln.prg
  + contrib/tipssl/sendmail.prg
  + contrib/tipssl/smtpcln.prg
  + contrib/tipssl/inetssl.c
  + contrib/tipssl/inetssl.h
    * Added Code to support ssl connection for http/smtp/pop3

  + contrib/tipssl/Makefile
  + contrib/tipssl/test.prg
    * sample to desmostrate on how to use gmail ans yahoo server
    For windows, you need to install open ssl
    just install
    http://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe and
    
 http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
    To get certificates from an site is easy
    once openssl is instaled ( in my machine i've added v:\openssl\bin to my
 path envar do )
    openssl s_client -connect -showcerts
    for example
    to get yahoo pop3 certificate
    openssl s_client pop.mail.yahoo.com:995 -showcerts 2 21 (to terminate
 prest CTRL+C
    open the 2 file
    copy all content between -BEGIN CERTIFICATE-/-END
 CERTIFICATE- inclusive
    this lines to one file ( if more then one occurence, create an file to
 each one
    save each file in openssl\bin\certs with .pem extension. in linux save
 the files to  /etc/ssl/certs

    open an dos shell
    under windows do

    go top openssl\bin\certs
    run openssl x509 -hash -fingerprint -noout -in fileyousaved.pem
    copy fileyousave.pem to hash returned on command above
    example
    if you save the file as gmail.pem do
    V:\OpenSSL\bin\PEM..\openssl x509 -hash -fingerprint -noout -in
 gmail.pem
    7f549ca4   NOTE this number
    SHA1
 Fingerprint=51:21:45:CE:CE:99:19:87:7D:CE:3F:52:C0:31:0F:7E:FB:B4:6A:6F
    then copy gmail.pem to 7f549ca4.0
    under linux
    execute the c_rehash command

 Regards
 Luiz


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 xHarbour-developers mailing list
 xHarbour-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/xharbour-developers


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 LuizRafael Culik luiz at xharbour.com.br

2009-08-09 Thread Luiz Rafael Culik Guimaraes
Patrick

I only added to makefile.bc

i dont know how makefile.vc works

Regards
Luiz
- Original Message - 
From: Patrick Mast, xHarbour. patrick.m...@xharbour.com
To: xHarbour Developers Mailing List 
xharbour-developers@lists.sourceforge.net
Sent: Sunday, August 09, 2009 3:46 PM
Subject: Re: [xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 
LuizRafael Culik luiz at xharbour.com.br


Hey Luiz,

Thanks for this contribution!

This is what I've done:
1. Download and install Microsoft Visual C++ 2008 Redistributable Package 
(x86)
2. Download and install Win32OpenSSL-0_9_8k.exe
3. SET HB_DIR_OPENSSL = C:\OpelSSL
4. Run C:\xHarbour\make_b32.bat all

But I can't find TIPSSL.LIB anywhere.

What am I missing?
Thanks!

Patrick

On Sun, Aug 9, 2009 at 7:31 PM, Luiz Rafael Culik
Guimaraesl...@xharbour.com.br wrote:
 !common.mak
 makefile.bc
 !changed to compile tipssl
 set the HB_DIR_OPENSSL envar to openssl install directory
 ! Changelog
 ! Renamed to ChangeLog.029 and started an new One

 + contrib/tipssl/client.prg
 + contrib/tipssl/httpcln.prg
 + contrib/tipssl/mail.prg
 + contrib/tipssl/popcln.prg
 + contrib/tipssl/sendmail.prg
 + contrib/tipssl/smtpcln.prg
 + contrib/tipssl/inetssl.c
 + contrib/tipssl/inetssl.h
 * Added Code to support ssl connection for http/smtp/pop3

 + contrib/tipssl/Makefile
 + contrib/tipssl/test.prg
 * sample to desmostrate on how to use gmail ans yahoo server
 For windows, you need to install open ssl
 just install
 http://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe and
 http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
 To get certificates from an site is easy
 once openssl is instaled ( in my machine i've added v:\openssl\bin to my
 path envar do )
 openssl s_client -connect -showcerts
 for example
 to get yahoo pop3 certificate
 openssl s_client pop.mail.yahoo.com:995 -showcerts 2 21 (to terminate
 prest CTRL+C
 open the 2 file
 copy all content between -BEGIN CERTIFICATE-/-END
 CERTIFICATE- inclusive
 this lines to one file ( if more then one occurence, create an file to
 each one
 save each file in openssl\bin\certs with .pem extension. in linux save
 the files to /etc/ssl/certs

 open an dos shell
 under windows do

 go top openssl\bin\certs
 run openssl x509 -hash -fingerprint -noout -in fileyousaved.pem
 copy fileyousave.pem to hash returned on command above
 example
 if you save the file as gmail.pem do
 V:\OpenSSL\bin\PEM..\openssl x509 -hash -fingerprint -noout -in
 gmail.pem
 7f549ca4  NOTE this number
 SHA1
 Fingerprint=51:21:45:CE:CE:99:19:87:7D:CE:3F:52:C0:31:0F:7E:FB:B4:6A:6F
 then copy gmail.pem to 7f549ca4.0
 under linux
 execute the c_rehash command

 Regards
 Luiz


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day
 trial. Simplify your report design, integration and deployment - and focus 
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now. http://p.sf.net/sfu/bobj-july
 ___
 xHarbour-developers mailing list
 xHarbour-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/xharbour-developers


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus 
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 LuizRafael Culik luiz at xharbour.com.br

2009-08-09 Thread Luiz Rafael Culik Guimaraes
Patrick

Try now

dont forget to change inside makefile.bc/ makefile.vc #TIPSSL=1 to TIPSSL=1 
otherwise, it dont compile

Regards
Luiz
- Original Message - 
From: Patrick Mast, xHarbour. patrick.m...@xharbour.com
To: xHarbour Developers Mailing List 
xharbour-developers@lists.sourceforge.net
Sent: Sunday, August 09, 2009 3:46 PM
Subject: Re: [xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 
LuizRafael Culik luiz at xharbour.com.br


Hey Luiz,

Thanks for this contribution!

This is what I've done:
1. Download and install Microsoft Visual C++ 2008 Redistributable Package 
(x86)
2. Download and install Win32OpenSSL-0_9_8k.exe
3. SET HB_DIR_OPENSSL = C:\OpelSSL
4. Run C:\xHarbour\make_b32.bat all

But I can't find TIPSSL.LIB anywhere.

What am I missing?
Thanks!

Patrick

On Sun, Aug 9, 2009 at 7:31 PM, Luiz Rafael Culik
Guimaraesl...@xharbour.com.br wrote:
 !common.mak
 makefile.bc
 !changed to compile tipssl
 set the HB_DIR_OPENSSL envar to openssl install directory
 ! Changelog
 ! Renamed to ChangeLog.029 and started an new One

 + contrib/tipssl/client.prg
 + contrib/tipssl/httpcln.prg
 + contrib/tipssl/mail.prg
 + contrib/tipssl/popcln.prg
 + contrib/tipssl/sendmail.prg
 + contrib/tipssl/smtpcln.prg
 + contrib/tipssl/inetssl.c
 + contrib/tipssl/inetssl.h
 * Added Code to support ssl connection for http/smtp/pop3

 + contrib/tipssl/Makefile
 + contrib/tipssl/test.prg
 * sample to desmostrate on how to use gmail ans yahoo server
 For windows, you need to install open ssl
 just install
 http://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe and
 http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
 To get certificates from an site is easy
 once openssl is instaled ( in my machine i've added v:\openssl\bin to my
 path envar do )
 openssl s_client -connect -showcerts
 for example
 to get yahoo pop3 certificate
 openssl s_client pop.mail.yahoo.com:995 -showcerts 2 21 (to terminate
 prest CTRL+C
 open the 2 file
 copy all content between -BEGIN CERTIFICATE-/-END
 CERTIFICATE- inclusive
 this lines to one file ( if more then one occurence, create an file to
 each one
 save each file in openssl\bin\certs with .pem extension. in linux save
 the files to /etc/ssl/certs

 open an dos shell
 under windows do

 go top openssl\bin\certs
 run openssl x509 -hash -fingerprint -noout -in fileyousaved.pem
 copy fileyousave.pem to hash returned on command above
 example
 if you save the file as gmail.pem do
 V:\OpenSSL\bin\PEM..\openssl x509 -hash -fingerprint -noout -in
 gmail.pem
 7f549ca4  NOTE this number
 SHA1
 Fingerprint=51:21:45:CE:CE:99:19:87:7D:CE:3F:52:C0:31:0F:7E:FB:B4:6A:6F
 then copy gmail.pem to 7f549ca4.0
 under linux
 execute the c_rehash command

 Regards
 Luiz


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day
 trial. Simplify your report design, integration and deployment - and focus 
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now. http://p.sf.net/sfu/bobj-july
 ___
 xHarbour-developers mailing list
 xHarbour-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/xharbour-developers


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus 
on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


[xHarbour-developers] achoice bug

2009-08-09 Thread Ron Pinkas
Eduardo,

The following lines, starting with line 258 in achoice.prg appear to be 
buggy:

  /* 2008/JAN/17 - E.F. Force to process pending key, if any */
  IF nMode == AC_SELECT
 if NextKey() == 0
EXIT
 else
::DrawRows( ::nOption - ::nFirstRow, ::nOption - ::nFirstRow, 
.F. )
 endif
  ENDIF

Can you please explain why should aChoice() continue processing after a 
selection has been made?

Sample exhibiting this bug (please compare with Clipper):

//-//
PROCEDURE Main()
   LOCAL nChoice
   LOCAL aItems := { A Option, B Option }

   KEYBOARD a + Chr( 13 ) + a

   CLEAR SCREEN

   nChoice := aChoice( 5, 10, 5 + Len( aItems ), 10 + Len( aItems[1] ), 
aItems, .T., , 2 )

   CLEAR SCREEN

   ? Done with aChoice!, nChoice
RETURN
//-//

Ron 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers


Re: [xHarbour-developers] changelog 2009-08-04 14:20 UTC-0300 LuizRafael Culik luiz at xharbour.com.br

2009-08-09 Thread Patrick Mast, xHarbour.
Hello Luiz,

 I only added to makefile.bc
And thats exactly what I tried ;-)
See
4. Run C:\xHarbour\make_b32.bat all

Patrick

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers