To Rao & Antonio:

To Rao & Antonio:

Postby HunterEC » Tue Apr 12, 2011 5: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: Select all  Expand view
#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.
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: To Rao & Antonio:

Postby Antonio Linares » Tue Apr 12, 2011 7:25 am

FiveWin.ch implements these defines:
_FIVEWIN_CH
FWVERSION
FWDESCRIPTION
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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 85 guests