To Antonio: I'm getting frustrated

To Antonio: I'm getting frustrated

Postby HunterEC » Wed Jun 01, 2011 7:27 pm

Antonio:

I've been trying to compile into my app the SIX driver. If I use buildx TestSix I get the following errors:
Code: Select all  Expand view
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TestSix.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_SIX' referenced from f:\Apps\TestSix.OBJ
Error: Unresolved external '_HB_FUN_SX_SETFILETYPE' referenced from f:\Apps\TestSix.OBJ
Error: Unresolved external '_HB_FUN_SX_SETCENTURY' referenced from f:\Apps\TestSix.OBJ
Error: Unresolved external '_HB_FUN_SX_SETDELETED' referenced from f:\Apps\TestSix.OBJ
Error: Unresolved external '_HB_FUN_SX_SETEPOCH' referenced from f:\Apps\TestSix.OBJ
* Linking errors *
 


Now if I use xHarbour (commercial) via xBuild Wizard Version: 4.5 Dated Aug 3 2010 05:26:04 I get the following:
xLINK error: Unresolved external symbol '??2@YAPAXI@Z referenced from Fivehcm.lib(ACTX.obj)'
Unresolved external symbol '??3@YAXPAX@Z referenced from Fivehcm.lib(ACTX.obj)'

Any clues ? Thank you in advance.


Windows XP Pro SP3, FiveWin 10.5
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Antonio Linares » Thu Jun 02, 2011 1:26 am

regards, saludos

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

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Thu Jun 02, 2011 8:38 am

Antonio:

Thank you very much, it worked with commercial xHarbour. Now, how can I make it work with FiveWin's xHarbour (Borland) ?


Gustavo
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Antonio Linares » Thu Jun 02, 2011 11:38 am

With the free xHarbour Borland you don't need that file :-)
regards, saludos

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

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Thu Jun 02, 2011 4:09 pm

Antonio:

Thank you for your help. I'm using the following Buildx.bat command. Please let me know what's missing because I got the "unresolved external errors" that I'd posted initially in this post. Thank you very much. As always, great service. Kudos !

Gustavo

Code: Select all  Expand view
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 10.6 - Jun. 2010           xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2010     for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

if "%FWDIR%" == "" set FWDIR=e:\comp\fwh\
if "%XHDIR%" == "" set XHDIR=c:\xHarbourB
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=e:\Comp\Borland\bcc55
set fwh=%FWDIR%

%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %1

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc

echo %hdirl%\sixcdx.lib + >> b32.bc
echo %hdirl%\sixcdxmt.lib + >> b32.bc

echo %hdirl%\ct.lib + >> b32.bc
echo %hdirl%\zlib.lib + >> b32.bc
echo %hdirl%\hbzip.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\rddads.lib + >> b32.bc
rem echo %hdir%\lib\Ace32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line to use the debugger and comment the following one
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c

:COMPILEERRORS
@type comp.log
ECHO * Compile errors *
GOTO EXIT

:LINKERROR
ECHO * Linking errors *
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [Program]     {-- No especifiques la extensi¢n PRG
ECHO                                {-- Don't specify .PRG extension
GOTO EXIT

:NOEXIST
ECHO The specified PRG %1 does not exist

:EXIT

HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Antonio Linares » Thu Jun 02, 2011 5:17 pm

Gustavo,

Where have you downloaded testsix.prg from ?
regards, saludos

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

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Fri Jun 03, 2011 5:01 am

Antonio:

Just a test program I made. Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Antonio Linares » Fri Jun 03, 2011 6:19 am

Gustavo,

Please post here its contents, thanks :-)
regards, saludos

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

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Fri Jun 03, 2011 6:28 pm

Code: Select all  Expand view
#define CINDEXEXT ".CDX"
#define DRIVER    "SIX"

#define KS_ALT_M     CHR(0) + CHR(50)

#define IDI_QUESTION 35214

// Menu Options
#define F_EXIT      11

#define M_INV       21
#define M_CUST      22
#define M_ALL       34

#define CKEY        NIL


#include "Apollo.ch"
#include "FiveWin.ch"
#include "Inkey.ch"


STATIC oWnd

PROCEDURE Main (cSales)
   LOCAL oIcon, oWindow, oBitMap, oBru, oMenu, nChoice, nI, nIndex, cOption, ;
            cOpts

   request SIX
   rddRegister( "SIX", 1 )
   rddsetdefault( "SIX" )
   SET FILETYPE TO CDX
   ThreadSleep(100)


   * environment
   SETCANCEL(.F.)
   SET _3DLOOK ON
   SET CENTURY ON
   SET CONFIRM OFF
   SET DELETED ON
   SET EPOCH TO 2000
   SET ESCAPE ON
   SET WRAP ON

   CLS

   IF ! NetUse(.T., DRIVER, "Ctrl", , .T., , 5, , , CKEY)
      QUIT
   ENDIF

   *****************************************************************
   * Menu procedure
   * Displays and performs menu actions.
   *****************************************************************
   * display fixed text

   DEFINE BRUSH oBru DISK "logobmp.bmp"
   DEFINE ICON oIcon DISK "logobmp.bmp"

   DEFINE WINDOW oWindow FROM 13,45 TO 51,169 ;
          TITLE "Mantenimiento De Sistema";
      BRUSH oBru MENU MainMenu (@oWindow, @oMenu, @nChoice)  ;
      ICON oIcon

   SET MESSAGE OF oWindow TO "Oprima Alt-Letra Subrayada" CLOCK DATE KEYBOARD

   DEFINE BITMAP oBitMap DISK "logobmp.bmp" OF oWindow

   oWindow:Center()

   ACTIVATE WINDOW oWindow

   oWnd := oWindow

   * Menu loop
   DO WHILE .T. .AND. cSales == NIL
      IF LASTKEY() == K_ESC
         nChoice := 0
      ENDIF

      IF VALTYPE(cOpts) == "C"
         cOption := LEFT(cOpts,1)
         HB_KEYPUT(KS_ALT_M)
        HB_KEYPUT(cOption)
         IF cOption == "C"
            HB_KEYPUT(CHR(13))
            HB_KEYPUT(CHR(13))
         ENDIF
         IF LEN(cOpts) > 1
            cOpts := RIGHT(cOpts,LEN(cOpts) - 1)
         ELSE
            cOpts := NIL
         ENDIF
      ENDIF
   ENDDO

   CLOSE DATABASES
RETURN
* EOP: Main


STATIC PROCEDURE MainMenu (oWindow, oMenu, nChoice)
  SETKEY(ASC("X"), {|| IIF( GetKeyState( ACC_ALT ), EVAL({|| IIF(ALERT(    ;
        "¿ Terminar ?", {"Si", "No"}, "Salir del Programa", IDI_QUESTION), ;
          oWindow:End(), NIL)}), NIL)})

   MENU oMenu
        MENUITEM "&File"      MESSAGE "Utilidades sobre archivos, Terminar"
        MENU
            MENUITEM "&Salir Alt-X" ;
                ACTION IIF(ALERT("¿ Terminar ?", {"Si", "No"}, "Salir del " + ;
                                 "Programa", IDI_QUESTION), oWnd:End(), NIL)  ;
                MESSAGE "Salir del programa"
        ENDMENU

        MENUITEM "&Mantenimiento"  MESSAGE "Datos sobre Clientes"
         MENU
            MENUITEM "&Inventario"          MESSAGE "Mantenimiento a Inventario" ;
                    ACTION Mant(@oWindow, M_INV)

                // Other menu items omitted for the sake of clarity.
        ENDMENU
    ENDMENU
RETURN
* EOP: MainMenu


STATIC PROCEDURE Mant (oWindow, nChoice)
    LOCAL nI, oSay, cIndexKey, nWindSel, cString

    oWnd:bValid := {|| .F.}
   DO CASE
      CASE nChoice == M_INV
         FERASE("Category" + CINDEXEXT)
         IF NetUse(.T., DRIVER, "Category", , .F., , 5, , , CKEY)
            MsgMeter( { | oMeter, oText, oDlg, lEnd | ;
               CreateTag( oMeter, oText, oDlg, @lEnd , "CatNo", "Cat_no") },;
               "Mantenimiento Inventario 2..." )
            MsgMeter( { | oMeter, oText, oDlg, lEnd | ;
               CreateTag( oMeter, oText, oDlg, @lEnd , "CatName", "Cat_name") },;
               "Mantenimiento Inventario 2..." )
            MsgMeter( { | oMeter, oText, oDlg, lEnd | ;
               CreateTag( oMeter, oText, oDlg, @lEnd , "CatUserId", "Cat_userid", "! EMPTY(Cat_userid)") },;
               "Mantenimiento Inventario 2..." )
            USE
         ENDIF

        // Other CASE statements omitted for the sake of simplicity.

   ENDCASE

    oWnd:bValid := {|| .T.}
RETURN
// EOP: Mant




STATIC PROCEDURE CreateTag (OMeter, oText, oDlg, lEnd, cTagName, cKey, cCondition, lDescend)
   *
   * This PROCEDURE creates index TAGs.
   *
   MEMVAR cKeyField, cForCond

   PRIVATE cKeyField, cForCond

   IF VALTYPE(lDescend) != "L"
      lDescend := .F.
   ENDIF
   cKeyField := cKey

   oMeter:nTotal = RecCount()

   IF cCondition != NIL
      cForCond := cCondition
      IF ! lDescend
         INDEX ON &cKeyField TAG (cTagName) FOR &cForCond EVAL ( oMeter:Set( RecNo() ), SysRefresh(), ! lEnd )
      ELSE
         INDEX ON &cKeyField TAG (cTagName) FOR &cForCond EVAL ( oMeter:Set( RecNo() ), SysRefresh(), ! lEnd ) ;
                  DESCENDING
      ENDIF
   ELSE
      IF ! lDescend
         INDEX ON &cKeyField TAG (cTagName) EVAL ( oMeter:Set( RecNo() ), SysRefresh(), ! lEnd )
      ELSE
         INDEX ON &cKeyField TAG (cTagName) EVAL ( oMeter:Set( RecNo() ), SysRefresh(), ! lEnd ) ;
               DESCENDING
      ENDIF
   ENDIF
RETURN
// EOP: CreateTag


#define NDISPLAY_TIME  5

FUNCTION NetUse (lNewArea, cDriver, cFileName, cAlias, lShared, lReadOnly, ;
                 nSeconds, acIndices, nTime, cPassWord)
   /*
     FUNCTION to use file in network environment.
     PARAMETERS:
        1. lNewArea  (Logical)   - USE NEW work area
        2. cDriver   (Character) - Database driver to be used
        3. cFileName (Character) - Database filename
        4. cAlias    (Character) - Database ALIAS
        5. lShared   (Logical)   - Open database in SHARED mode
        6. lReadOnly (Logical)   - Open database in READONLY mode
        7. nSeconds  (Numeric)   - Number of seconds to attempt open
        8. acIndices (Array)     - Character array of indices to open
        9. nTime     (Numeric)   - Number of seconds to elapse before
                                   displaying message to user (for
                                   infinite retries)
       10. cPassWord (Character) - Database password
   */

   LOCAL lForEver, nDisplay, lUsed := .F., nOldWindow, nWindow

   #ifdef SINGLE_USER
      lShared := .F.
   #endif

   IF VALTYPE(nSeconds) != "N"
      nSeconds := 0
   ENDIF
   IF VALTYPE(nTime) != "N"
      nTime := NDISPLAY_TIME
   ENDIF
   lForEver := (nSeconds == 0)
   IF lForEver
      nDisplay := 0
   ENDIF

   DO WHILE (lForEver .OR. nSeconds > 0) .AND. ! lUsed
      BEGIN SEQUENCE
         DBUSEAREA(lNewArea, (cDriver), (cFileName), (cAlias), ;
                   lShared, lReadOnly)

         IF ! NETERR()
            IF VALTYPE(acIndices) == "A"
               AEVAL(acIndices, {|cIndex| DBSETINDEX(cIndex)})
            ENDIF
            lUsed := .T.
         ENDIF
      END

      IF ! lUsed
         INKEY(1)
         IF lForEver
            nDisplay++
            IF nDisplay == nTime
               MsgInfo("Tratando De Accesar Archivo")
                    INKEY(3)
               nDisplay := 0
            ENDIF
         ENDIF
      ENDIF
      nSeconds--
   ENDDO

   /*
     If lock unsuccesfull, display message.
   */

   IF ! lUsed
      MsgInfo("Un Archivo No Est  Disponible")
      INKEY(3)                              // display message 3 seconds
   ENDIF
RETURN (lUsed)
* EOF: NetUse

 
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Antonio Linares » Fri Jun 03, 2011 6:48 pm

Gustavo,

Please post apollo.ch contents too, thanks! :-)
regards, saludos

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

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Fri Jun 03, 2011 9:27 pm

Code: Select all  Expand view
/*
 *   Apollo RDD for Harbour
 *   Copyright 2002 Patrick Mast
 *
 *   Written by Alexander S.Kresin <alex@belacy.belgorod.su>, December 2002
 *   some portions written by Patrick Mast <email@patrickmast.com>
 */


#include "set.ch"

/* EXTERN M6INIT M6Init() not yet finished */

#define SDENTX      1
#define SDEFOX      2
#define SDENSX      3

#define OPTIMIZE_NONE  0
#define OPTIMIZE_PART  1
#define OPTIMIZE_FULL  2

#define  TRIGGER_ENABLE     1
#define  TRIGGER_DISABLE    2
#define  TRIGGER_REMOVE     3
#define  TRIGGER_INSTALL    4
#define  TRIGGER_PENDING    5

#define EVENT_PREUSE        1
#define EVENT_POSTUSE       2
#define EVENT_UPDATE        3
#define EVENT_APPEND        4
#define EVENT_DELETE        5
#define EVENT_RECALL        6
#define EVENT_PACK          7
#define EVENT_ZAP           8
#define EVENT_PUT           9
#define EVENT_GET          10
#define EVENT_PRECLOSE     11
#define EVENT_POSTCLOSE    12

#command SET EPOCH TO <year>                                           ;
      => Set( _SET_EPOCH, <year> )                                     ;
         ;sx_SetEpoch( <year> )

#command SET CENTURY <x:ON,OFF,&>                                      ;
      => __SetCentury( <(x)> )                                         ;
         ;sx_SetCentury( <(x)> )

#command SET CENTURY (<x>)                                             ;
      => __SetCentury( <x> )                                           ;
         ;sx_SetCentury( <x> )

#command SET DATE [TO] AMERICAN                                        ;
      => Set( _SET_DATEFORMAT, if(sx_SetCentury(), "mm/dd/yyyy", "mm/dd/yy" ) ) ;
         ;sx_SetDateFormat( 0 )

#command SET DATE [TO] ANSI                                            ;
      => Set( _SET_DATEFORMAT, if(sx_SetCentury(), "yyyy.mm.dd", "yy.mm.dd" ) ) ;
         ;sx_SetDateFormat( 1 )

#command SET DATE [TO] BRITISH                                         ;
      => Set( _SET_DATEFORMAT, if(sx_SetCentury(), "dd/mm/yyyy", "dd/mm/yy" ) ) ;
         ;sx_SetDateFormat( 2 )

#command SET DATE [TO] FRENCH                                          ;
      => Set( _SET_DATEFORMAT, if(sx_SetCentury(), "dd/mm/yyyy", "dd/mm/yy" ) ) ;
         ;sx_SetDateFormat( 3 )

#command SET DATE [TO] GERMAN                                          ;
      => Set( _SET_DATEFORMAT, if(sx_SetCentury(), "dd.mm.yyyy", "dd.mm.yy" ) ) ;
         ;sx_SetDateFormat( 4 )

#command SET DATE [TO] ITALIAN                                         ;
      => Set( _SET_DATEFORMAT, if(sx_SetCentury(), "dd-mm-yyyy", "dd-mm-yy" ) ) ;
         ;sx_SetDateFormat( 5 )


#command SET FILETYPE TO <x:NTX,CDX,NSX>                               ;
      => sx_SetFileType( if( upper( <(x)> ) == "NTX", 1,               ;
                         if( upper( <(x)> ) == "CDX", 2, 3 ) ) )

#command SET DELETED <x:ON,OFF,&>                                      ;
      =>  Set( _SET_DELETED, <(x)> )                                   ;
          ;sx_SetDeleted( if( upper( <(x)> ) == "ON", .t., .f. ) )
#command SET DELETED (<x>)                                             ;
      =>  Set( _SET_DELETED, <x> ); sx_SetDeleted( <x> )

#command SET EXACT <x:ON,OFF,&>                                        ;
      =>  Set( _SET_EXACT, <(x)> )                                     ;
          ;sx_SetExact( if( upper( <(x)> ) == "ON", .t., .f. ) )
#command SET EXACT (<x>)                                               ;
      =>  Set( _SET_EXACT, <x> ); sx_SetExact( <x> )

#command SET MEMOBLOCK TO <x>                                          ;
      => Sx_SetMemoBlock(<x>)

#command SET SOFTSEEK <x:ON,OFF,&>                                     ;
      =>  Set( _SET_SOFTSEEK, <(x)> )                                  ;
          ;sx_SetSoftSeek( if( upper( <(x)> ) == "ON", .t., .f. ) )
#command SET SOFTSEEK (<x>)                                            ;
      =>  Set( _SET_SOFTSEEK, <x> ); sx_SetSoftSeek( <x> )

#command SET TURBOREAD <x:ON,OFF,&>                                    ;
      =>  sx_SetTurbo( if( upper( <(x)> ) == "ON", .t., .f. ) )

#command SET DIRTYREAD <x:ON,OFF,&>                                    ;
      =>  sx_SetTurbo( if( upper( <(x)> ) == "ON", .t., .f. ) )

#command SET MEMOBINARY <x:ON,OFF,&>                                   ;
      =>  SetMemoBinary( if( upper( <(x)> ) == "ON", .t., .f. ) )

#command USE <(db)>                                                    ;
             [VIA <rdd>]                                               ;
             [ALIAS <als>]                                             ;
             [<new: NEW>]                                              ;
             [<ex: EXCLUSIVE>]                                         ;
             [<sh: SHARED>]                                            ;
             [<ro: READONLY>]                                          ;
             [TRIGGER <trig>]                                          ;
             [INDEX <(index1)> [, <(indexn)>]]                         ;
                                                                       ;
      => sx_SetTrigger( TRIGGER_PENDING, <trig> )                      ;
         ;dbUseArea( <.new.>, <rdd>, <(db)>, <(als)>,                  ;
                    if(<.sh.> .or. <.ex.>, !<.ex.>, NIL), <.ro.>       ;
                  )                                                    ;
                                                                       ;
      [; dbSetIndex( <(index1)> )]                                     ;
      [; dbSetIndex( <(indexn)> )]

#xtranslate Sx_SetTagNo( [<Order>] )                                   ;
      => Sx_SetTag( [<Order>],                                         ;
                    iif(ordNumber()>0,ordBagName(),ordBagName(1)))

#xtranslate Sx_SetTagNo( <Order>, <indexname> )                        ;
      => Sx_SetTag( <Order>, <indexname> )

#xtranslate Sx_TagOrder()                                              ;
      => iif( empty(alias()), 0 ,OrdNumber() )

#xtranslate Sx_SetTagOrder( [<Order>] [,<indexname>] )                 ;
      => Sx_SetTag( [<Order>] [,<indexname>]  )

#xtranslate Sx_SetTagOrd( [<Order>] [,<indexname>] )                   ;
      => Sx_SetTag( [<Order>] [,<indexname>]  )

#command sx_SetTag( <(tag)>, <(indexname)> )                           ;
      => ordSetFocus( <(tag)>, <(indexname)> )

#xtranslate Sx_IndexFilter( [<Order>] )                                ;
      => OrdFor( [<Order>] )

/* Problem with tXBrowse's SetRDD
#xtranslate SetRDD( [<RDD>] )                                          ;
      => RDDSetDefault( [<RDD>] )
*/


#xtranslate Sx_SetDirty( [<x>] )                                       ;
      => Sx_SetTurbo( [<x>] )

#command PACK                                                          ;
      => __dbPack()                                                    ;
         ;Sx_MemoPack()

#xcommand WILDSEEK <x>                                                 ;
      => Sx_WildSeek( <x> )

#xcommand WILDSEEKNEXT <x>                                             ;
      => Sx_WildSeek( <x>, .T. )

#command SET FILTER TO <x>                                             ;
         [NOOPTIMIZE]                                                  ;
      => m6_SetFilter( <{x}>, <"x">, .T. )

#command SET FILTER TO <x:&>                                           ;
         [NOOPTIMIZE]                                                  ;
      => if ( Empty(<(x)>) )                                           ;
       ;    dbClearFilter()                                            ;
       ; else                                                          ;
       ;    m6_SetFilter( <{x}>, <(x)>, .T. )                          ;
       ; endif

#command SET FILTER TO <x>                                             ;
      => m6_SetFilter( <{x}>, <"x">, .F. )

#command SET FILTER TO <x:&>                                           ;
      => if ( Empty(<(x)>) )                                           ;
       ;    dbClearFilter()                                            ;
       ; else                                                          ;
       ;    m6_SetFilter( <{x}>, <(x)>, .F. )                          ;
       ; endif

#command REFRESH FILTER                                                ;
      => m6_RefreshFilter()

#command CLEAR SCOPE                                                   ;
      => Sx_ClrScope()

#xcommand SET SCOPETOP TO <value>                                      ;
      => Sx_SetScope(0, <value>)

#xcommand SET SCOPETOP TO                                              ;
      => Sx_ClrScope(0)

#xcommand SET SCOPEBOTTOM TO <value>                                   ;
      => Sx_SetScope(1, <value>)

#xcommand SET SCOPEBOTTOM TO                                           ;
      => Sx_ClrScope(1)

#command SET SCOPE TO                                                  ;
      => Sx_ClrScope()

#command SET SCOPE TO <value>                                          ;
      => Sx_SetScope(0, <value>)                                       ;
         Sx_SetScope(1, <value>)
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Antonio Linares » Sat Jun 04, 2011 7:51 am

Gustavo,

Sorry but we don't use/have this commercial RDD, so you should ask its developer for tech support, thanks :-)
regards, saludos

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

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Sat Jun 04, 2011 7:32 pm

Antonio:

Even if you remove the following:
Code: Select all  Expand view
#include "Apollo.ch"
SET FILETYPE TO CDX

The linker displays: "Error: Unresolved external '_HB_FUN_SIX' referenced from f:\Apps\TestSix.OBJ
Why the same program works with commercial xHarbour but not with the one included in FiveWin ? The six driver IS part of xHarbour. Thank you.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Antonio: I'm getting frustrated

Postby Gale FORd » Sat Jun 04, 2011 11:56 pm

I believe the commercial xHarbour includes the Six functions in their RDD. They also include Comix functions also.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: To Antonio: I'm getting frustrated

Postby HunterEC » Sun Jun 05, 2011 12:13 am

Gale:

Thank you very much, I agree. Given the fact, does that means that I cannot port my apps to FiveWin ? The only reason I'm using the SIX driver is database encryption. Can Antonio comment on this ?
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests