Migrate to Harbour

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

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

How to compile something like this?

Code: Select all

FUNCTION MAIN()

    SET ERRORLOG TO TEST.LOG

    RETURN NIL
EMG
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Migrate to Harbour

Post by cnavarro »

C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Migrate to Harbour

Post by cnavarro »

C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Migrate to Harbour

Post by cnavarro »

Enrico, look ppcore.c

Code: Select all

.../..
#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 );
         }

.../...
 
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
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: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Migrate to Harbour

Post by Enrico Maria Giordano »

First FWH compilation:

Code: Select all

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

Re: Migrate to Harbour

Post by cnavarro »

Enrico
If you are compiling with Harbour not think you should use the library fivehx.lib FWH
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
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