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.