Migrate to Harbour

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Tue Jun 17, 2014 8:00 am

Antonio,

Antonio Linares wrote:Enrico,

Please use the libs that are used in FWH\samples\buildh.bat thanks


Ok, thank you.

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

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sat Jun 21, 2014 1:46 pm

How to compile something like this?

Code: Select all  Expand view  RUN
FUNCTION MAIN()

    SET ERRORLOG TO TEST.LOG

    RETURN NIL


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

Re: Migrate to Harbour

Postby cnavarro » Sat Jun 21, 2014 2:06 pm

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: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sat Jun 21, 2014 9:00 pm

What about

Code: Select all  Expand view  RUN
#untranslate


directive?

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

Re: Migrate to Harbour

Postby cnavarro » Sat Jun 21, 2014 10:18 pm

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: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sun Jun 22, 2014 7:21 am

Cristobal,

cnavarro wrote:I have not clear, but I found this
http://objectmix.com/xharbour/192676-sy ... -01-a.html


None of the suggestions work in Harbour. :-(

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

Re: Migrate to Harbour

Postby cnavarro » Sun Jun 22, 2014 11:03 pm

Enrico, look ppcore.c

Code: Select all  Expand view  RUN

.../..
#ifndef HB_CLP_STRICT
         else if( hb_pp_tokenValueCmp( pToken, "YCOMMAND", HB_PP_CMP_DBASE ) )
         {
            hb_pp_directiveNew( pState, pToken, HB_PP_CMP_CASE, HB_TRUE, fDirect, HB_FALSE );
         }
         /* Harbour PP extensions */
         else if( hb_pp_tokenValueCmp( pToken, "UNTRANSLATE", HB_PP_CMP_DBASE ) )
         {
            hb_pp_directiveNew( pState, pToken, HB_PP_CMP_DBASE, HB_FALSE, fDirect, HB_TRUE );
         }
         else if( hb_pp_tokenValueCmp( pToken, "XUNTRANSLATE", HB_PP_CMP_DBASE ) )
         {
            hb_pp_directiveNew( pState, pToken, HB_PP_CMP_STD, HB_FALSE, fDirect, HB_TRUE );
         }

.../...
 
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: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Mon Jun 23, 2014 7:34 am

Cristobal,

cnavarro wrote:Enrico, look ppcore.c


Ok, but still it doesn't work. Does it for you?

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

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sun Jun 29, 2014 3:16 pm

Any news regarding #untranslate on Harbour? :-)

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

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sun Jun 29, 2014 3:23 pm

Another problem. Any replacement for -wb- compiler switch?

-W2 -WB-

The above will enable all unused variables warnings EXCEPT for Blocks.


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

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sun Jun 29, 2014 5:42 pm

First FWH compilation:

Code: Select all  Expand view  RUN
Error: Unresolved external '_HB_FUN_HB_GT_WIN' referenced from E:\XHARBOUR\LIB\RTL.LIB|gtsys
Error: Unresolved external '_HB_FUN___CLSACTIVE' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|DDE
Error: Unresolved external '_HB_FUN_TTOC' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_HOUR' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_MINUTE' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_TTOS' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_STOT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_hb_itemPutDTL' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_hb_part' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|VALTOSTR
Error: Unresolved external '_HB_FUN_HHASKEY' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|FWDECODE
Error: Unresolved external '_HB_FUN_NUMTOHEX' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|GETSYSIN
Error: Unresolved external '_HB_FUN_DBSKIPPER' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_CURDRIVE' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|DATABASE
Error: Unresolved external '_HB_FUN_HSETCASEMATCH' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|DATABASE
Error: Unresolved external '_HB_FUN_TOLEAUTO' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_DATETIME' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_OLEDEFAULTARG' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_VTWRAPPER' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_STRTOHEX' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_CTOT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|ADOFUNCS
Error: Unresolved external '_HB_FUN_HSET' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|DATABASE
Error: Unresolved external '_HB_FUN_HEVAL' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|DATABASE
Error: Unresolved external '_HB_FUN_GETACTIVEOBJECT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|OLEFUNCS
Error: Unresolved external '_HB_FUN_HGETKEYAT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HGETVALUEAT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HEXTOSTR' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_ANSITOWIDE' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|TGET
Error: Unresolved external '_HB_FUN_HB_DECODE' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_WILDMATCH' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|XBROWSE
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_CS852' referenced from E:\XHARBOUR\LIB\RTL.LIB|langcomp
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_DE850' referenced from E:\XHARBOUR\LIB\RTL.LIB|langcomp
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_EL737' referenced from E:\XHARBOUR\LIB\RTL.LIB|langcomp
Error: Unresolved external '_hb_oleVariantToItem' referenced from E:\FWHARBOUR\LIB\FIVEHC.LIB|ACTX
Error: Unresolved external '_hb_oleItemToVariant' referenced from E:\FWHARBOUR\LIB\FIVEHC.LIB|ACTX
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_FW_GT' referenced from E:\FWXHARB\GRAPH.OBJ


:-(

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

Re: Migrate to Harbour

Postby cnavarro » Sun Jun 29, 2014 6:27 pm

Enrico
If you are compiling with Harbour not think you should use the library fivehx.lib FWH
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: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Migrate to Harbour

Postby Enrico Maria Giordano » Sun Jun 29, 2014 6:29 pm

Cristobal,

ops! :-)

Thank you.

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

Re: Migrate to Harbour

Postby Antonio Linares » Sun Jun 29, 2014 9:14 pm

Enrico,

To enable #untranslate in Harbour it seems as it has to be built without using HB_CLP_STRICT.

if you need it, then I may build a Harbour for you without such flag. Just let me know it and I will build it for you :-)

Regarding those flags, and other differences that you may find, its great that you report them here, so we may ask about them in the Harbour developers list (in case you don't want to do it personally) ;-)
regards, saludos

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], MaxP, Natter and 83 guests