Compiling the SAMPSIX from the samples folder, either with the BUILD.BAT or BUILDX.BAT leads to the following linker errors:
Code: Select all
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
SAMPSIX.c:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_SIX' referenced from C:\SAMPSIX.OBJ
Error: Unresolved external '_HB_FUN_SX_SETFILETYPE' referenced from C:\SAMPSIX.OBJ
Error: Unresolved external '_HB_FUN_SX_SETCENTURY' referenced from C:\SAMPSIX.OBJ
Error: Unresolved external '_HB_FUN_SX_SETDELETED' referenced from C:\SAMPSIX.OBJ
Error: Unresolved external '_HB_FUN_SX_SETEPOCH' referenced from C:\SAMPSIX.OBJ
* Linking errors *
Code: Select all
#line 203 "e:\comp\HarbourB\include\hbclass.ch"
DECLARE HBClass New( cName AS STRING, OPTIONAL SuperParams ) AS CLASS HBClass Create() AS OBJECT Instance() AS OBJECT AddClsMethod( cName AS STRING, @MethodName(), nScope AS NUMERIC, n2 AS NUMERIC, n3 AS NUMERIC ) AddMultiClsData( cType AS STRING, uVal, nScope AS NUMERIC, aDatas AS ARRAY OF STRING ) AddMultiData( cType AS STRING, uVal, nScope AS NUMERIC, aDatas AS ARRAY OF STRING, x AS LOGICAL, lPer AS LOGICAL ) AddMethod( cName AS STRING, @MethodName(), nScope AS NUMERIC ) AddInLine( cName AS STRING, bBlock AS CODEBLOCK, nScope AS NUMERIC ) AddVirtual( cName AS STRING )
#line 99 "e:\comp\fwh\include\FiveWin.ch"
EXTERNAL FW_GT
extern errorsys
#line 14 "SAMPSIX.prg"
PROCEDURE Main
LOCAL cPassWord := "12345678"
EXTERNAL SIX
rddRegister( "SIX", 1 )
rddsetdefault( "SIX" )
sx_SetFileType( if( upper( "CDX" ) == "NTX", 1, if( upper( "CDX" ) == "CDX", 2, 3 ) ) )
ThreadSleep(100)
SETCANCEL(.F.)
__SetCentury( "ON" ) ; sx_SetCentury( "ON" )
Set( 27, "OFF" )
Set( 11, "ON" ) ; sx_SetDeleted( if( upper( "ON" ) == "ON", .T., .F. ) )
Set( 5, 2000 ) ; sx_SetEpoch( 2000 )
Set( 28, "ON" )
Set( 35, "ON" )
sx_SetTrigger( 5, ) ; dbUseArea( .T., "SIX", "Customer",, if(.T. .OR. .F., !.F., NIL), .F. )
Sx_SetPass(cPassWord)
Sx_DBFencrypt()
dbCloseArea()
RETURN
Any ideas as of what is missing ?
Thank you.