2011-06-03 17:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/rddads/tests/datad.prg
    ! fixed 'field -> id' index expr which wasn't recognized by ADS
  * contrib/rddads/tests/datad.prg
  * contrib/rddads/tests/testmg.prg
    ! use hb_libpostfix()
  * contrib/hbide/idemain.prg
    ! use hb_libpostfix() which fixes loading rddads on non-win 
      systems (untested, I can't wait for HBQT build to finish)
This commit is contained in:
Viktor Szakats
2011-06-03 15:21:00 +00:00
parent e145801d40
commit 2c62a976c6
4 changed files with 16 additions and 8 deletions

View File

@@ -16,6 +16,16 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-06-03 17:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/tests/datad.prg
! fixed 'field -> id' index expr which wasn't recognized by ADS
* contrib/rddads/tests/datad.prg
* contrib/rddads/tests/testmg.prg
! use hb_libpostfix()
* contrib/hbide/idemain.prg
! use hb_libpostfix() which fixes loading rddads on non-win
systems (untested, I can't wait for HBQT build to finish)
2011-06-03 14:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
+ added TROUBLESHOOTING/11:

View File

@@ -125,9 +125,8 @@ PROCEDURE Main( ... )
SET EPOCH TO 1970
#ifdef __HBDYNLOAD__RDDADS__
/* TOFIX: Get the name right for other platforms than Windows. */
IF hb_FileExists( tmp := ( hb_dirBase() + "rddads-" + hb_ntos( hb_version( HB_VERSION_MAJOR ) ) + hb_ntos( hb_version( HB_VERSION_MINOR ) ) + hb_libExt() ) )
hRDDADS := hb_libLoad( hb_libName( tmp ) )
IF hb_FileExists( tmp := hb_dirBase() + hb_libName( "rddads" + hb_libPostfix() ) )
hRDDADS := hb_libLoad( tmp )
IF ! Empty( hRDDADS )
hbide_setAdsAvailable( .t. )
hb_rddadsRegister()

View File

@@ -6,7 +6,6 @@
Demo of ADS Connection handling and Data Dictionaries
*/
#include "ads.ch"
REQUEST ADS
@@ -22,7 +21,7 @@ PROCEDURE MAIN()
LOCAL hConnection1
#if defined( __HBDYNLOAD__RDDADS__ )
LOCAL l := hb_libLoad( hb_libName( "rddads" ) )
LOCAL l := hb_libLoad( hb_libName( "rddads" + hb_libPostfix() ) )
hb_rddadsRegister()
@@ -63,11 +62,11 @@ PROCEDURE MAIN()
dbCreate( "Table2", aStru )
//now create an index
USE table1 NEW
INDEX ON FIELD -> id TAG codigo
INDEX ON FIELD->id TAG codigo
USE
USE table2 NEW
INDEX ON FIELD -> id TAG codigo
INDEX ON FIELD->id TAG codigo
USE
ENDIF

View File

@@ -66,7 +66,7 @@ PROCEDURE Main()
LOCAL aRay
#if defined( __HBDYNLOAD__RDDADS__ )
LOCAL l := hb_libLoad( hb_libName( "rddads" ) )
LOCAL l := hb_libLoad( hb_libName( "rddads" + hb_libPostfix() ) )
hb_rddadsRegister()