Migrate to Harbour

User avatar
Enrico Maria Giordano
Posts: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

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: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

How to compile something like this?

Code: Select all | Expand

FUNCTION MAIN()

    SET ERRORLOG TO TEST.LOG

    RETURN NIL


EMG
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Migrate to Harbour

Post by cnavarro »

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: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Migrate to Harbour

Post by cnavarro »

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
Enrico Maria Giordano
Posts: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

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
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Migrate to Harbour

Post by cnavarro »

Enrico, look ppcore.c

Code: Select all | Expand


.../..
#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
Enrico Maria Giordano
Posts: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

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: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

Any news regarding #untranslate on Harbour? :-)

EMG
User avatar
Enrico Maria Giordano
Posts: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

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: 8738
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

First FWH compilation:

Code: Select all | Expand

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
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Migrate to Harbour

Post by cnavarro »

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
Antonio Linares
Site Admin
Posts: 42450
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 20 times
Been thanked: 58 times
Contact:

Re: Migrate to Harbour

Post by Antonio Linares »

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
Post Reply