FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Rao & Antonio:
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
To Rao & Antonio:
Posted: Tue Apr 12, 2011 05:02 AM
Rao, Antonio:

I used to compile and run an xHarbour app that uses the SIX driver. I used to include in the source file the following:

Code (fw): Select all Collapse
#ifdef __XHARBOUR__
   #include "Apollo.ch"
#endif

#ifdef __XHARBOUR__
    #xtranslate Sx_I_TagName()    => ORDNAME(ORDSETFOCUS())
    #xtranslate Sx_I_IndexName()  => ORDBAGNAME()
    #xtranslate Sx_KeysIncluded() => ORDKEYCOUNT()
#endif

#ifdef __XHARBOUR__
      request SIX
      rddRegister( "SIX", 1 )
      rddsetdefault( "SIX" )
      SET FILETYPE TO CDX
      ThreadSleep(100)
#endif


Is there a #ifdef __FIVEWIN__ type of directive ? How can I use the SIX driver since the databases have to be encrypted ?

Thank you.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: To Rao & Antonio:
Posted: Tue Apr 12, 2011 07:25 AM

FiveWin.ch implements these defines:
_FIVEWIN_CH
FWVERSION
FWDESCRIPTION

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion