2007-11-19 20:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/rdd_ads/test
+ contrib/rdd_ads/test/testmg.prg
- contrib/rdd_ads/testmg.prg
* Moved.
* contrib/rdd_ads/make_b32.bat
* contrib/rdd_ads/make_vc.bat
* contrib/rdd_ads/adsmgmnt.c
- contrib/rdd_ads/ace.h
+ Non-GNU make files standardized. You'll need to set these envvars
to tell the package (Advantage Client Engine) location (and version):
set ACE_DIR=C:\ads\acesdk
set ACE_VER=810
* ACE_VER is optional, if not speficied, zero will be
returned as "index sort buffer size" by AdsMgGetConfigInfo().
; The exact .dll location inside the package dir will be
detected (tested 6.11-8.10)
- Now ADS header is not included anymore in Harbour.
Notice that this header file is a copyrighted file where such
distribution is not permitted. Anyhow, distributing other
packages headers is not good practice anyway.
* contrib/rdd_ads/rddads.h
* WatcomC / LCC hack implemented outside ace.h. Please test
this as I don't have any of these compilers.
This commit is contained in:
@@ -8,6 +8,33 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-11-19 20:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
+ contrib/rdd_ads/test
|
||||
+ contrib/rdd_ads/test/testmg.prg
|
||||
- contrib/rdd_ads/testmg.prg
|
||||
* Moved.
|
||||
|
||||
* contrib/rdd_ads/make_b32.bat
|
||||
* contrib/rdd_ads/make_vc.bat
|
||||
* contrib/rdd_ads/adsmgmnt.c
|
||||
- contrib/rdd_ads/ace.h
|
||||
+ Non-GNU make files standardized. You'll need to set these envvars
|
||||
to tell the package (Advantage Client Engine) location (and version):
|
||||
set ACE_DIR=C:\ads\acesdk
|
||||
set ACE_VER=810
|
||||
* ACE_VER is optional, if not speficied, zero will be
|
||||
returned as "index sort buffer size" by AdsMgGetConfigInfo().
|
||||
; The exact .dll location inside the package dir will be
|
||||
detected (tested 6.11-8.10)
|
||||
- Now ADS header is not included anymore in Harbour.
|
||||
Notice that this header file is a copyrighted file where such
|
||||
distribution is not permitted. Anyhow, distributing other
|
||||
packages headers is not good practice anyway.
|
||||
|
||||
* contrib/rdd_ads/rddads.h
|
||||
* WatcomC / LCC hack implemented outside ace.h. Please test
|
||||
this as I don't have any of these compilers.
|
||||
|
||||
2007-11-19 19:03 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
|
||||
* harbour/source/compiler/hbopt.c
|
||||
! fixed HB_P_MACROFUNC optimization
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -335,10 +335,14 @@ HB_FUNC( ADSMGGETCONFIGINFO )
|
||||
hb_stornl( stConfigValues.ulSortBuffSize , -1, 16); /* index sort buffer size */
|
||||
hb_storni( 0 , -1, 17); /* reserved */
|
||||
hb_storni( 0 , -1, 18); /* reserved */
|
||||
#else
|
||||
#elif defined(ADS_VER) && ADS_VER < 810
|
||||
hb_stornl( stConfigValues.usSortBuffSize , -1, 16); /* index sort buffer size */
|
||||
hb_storni( stConfigValues.ucReserved1 , -1, 17); /* reserved */
|
||||
hb_storni( stConfigValues.ucReserved2 , -1, 18); /* reserved */
|
||||
#else
|
||||
hb_stornl( 0 , -1, 16); /* index sort buffer size */
|
||||
hb_storni( 0 , -1, 17); /* reserved */
|
||||
hb_storni( 0 , -1, 18); /* reserved */
|
||||
#endif
|
||||
hb_storc ( (char *) stConfigValues.aucErrorLog , -1, 19); /* error log path */
|
||||
hb_storc ( (char *) stConfigValues.aucSemaphore , -1, 20); /* semaphore file path */
|
||||
|
||||
@@ -3,12 +3,18 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
rem IMPORTANT: You'll need Advantage Client Engine installed.
|
||||
rem ---------------------------------------------------------------
|
||||
if "%ADS_DIR%" == "" goto HELP
|
||||
|
||||
set C_USR=%C_USR% -I%ADS_DIR%
|
||||
set HB_DLL_NAME=ace32
|
||||
if "%HB_DLL_DIR%" == "" set HB_DLL_DIR=%SystemRoot%\system32
|
||||
if not "%HB_DLL_DIR%" == "" goto DIR_OK
|
||||
if exist "%ADS_DIR%\32bit\ace32.dll" set HB_DLL_DIR=%ADS_DIR%\32bit
|
||||
if exist "%ADS_DIR%\Redistribute\ace32.dll" set HB_DLL_DIR=%ADS_DIR%\Redistribute
|
||||
if exist "%ADS_DIR%\ace32.dll" set HB_DLL_DIR=%ADS_DIR%
|
||||
|
||||
:DIR_OK
|
||||
|
||||
echo Using this .dll: %HB_DLL_DIR%\%HB_DLL_NAME%.dll
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
|
||||
@@ -44,4 +50,13 @@ if "%1" == "INSTALL" goto POST_INSTALL
|
||||
if exist ..\..\lib\%HB_CC_NAME%\%HB_DLL_NAME%.lib copy ..\..\lib\%HB_CC_NAME%\%HB_DLL_NAME%.lib %_HB_LIB_INSTALL%
|
||||
goto POST_EXIT
|
||||
|
||||
:HELP
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Advantage Client Engine installed and
|
||||
echo these envvars set to successfully build this library:
|
||||
echo set ACE_DIR=C:\ads\acesdk
|
||||
echo set ACE_VER=810
|
||||
echo ---------------------------------------------------------------
|
||||
|
||||
:POST_EXIT
|
||||
|
||||
@@ -3,12 +3,18 @@ rem
|
||||
rem $Id$
|
||||
rem
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
rem IMPORTANT: You'll need Advantage Client Engine installed.
|
||||
rem ---------------------------------------------------------------
|
||||
if "%ADS_DIR%" == "" goto HELP
|
||||
|
||||
set C_USR=%C_USR% -I%ADS_DIR%
|
||||
set HB_DLL_NAME=ace32
|
||||
if "%HB_DLL_DIR%" == "" set HB_DLL_DIR=%SystemRoot%\system32
|
||||
if not "%HB_DLL_DIR%" == "" goto DIR_OK
|
||||
if exist "%ADS_DIR%\32bit\ace32.dll" set HB_DLL_DIR=%ADS_DIR%\32bit
|
||||
if exist "%ADS_DIR%\Redistribute\ace32.dll" set HB_DLL_DIR=%ADS_DIR%\Redistribute
|
||||
if exist "%ADS_DIR%\ace32.dll" set HB_DLL_DIR=%ADS_DIR%
|
||||
|
||||
:DIR_OK
|
||||
|
||||
echo Using this .dll: %HB_DLL_DIR%\%HB_DLL_NAME%.dll
|
||||
|
||||
rem ---------------------------------------------------------------
|
||||
|
||||
@@ -60,4 +66,13 @@ if "%1" == "INSTALL" goto POST_INSTALL
|
||||
if exist ..\..\lib\%HB_CC_NAME%\%HB_DLL_NAME%.lib copy ..\..\lib\%HB_CC_NAME%\%HB_DLL_NAME%.lib %_HB_LIB_INSTALL%
|
||||
goto POST_EXIT
|
||||
|
||||
:HELP
|
||||
|
||||
echo ---------------------------------------------------------------
|
||||
echo IMPORTANT: You'll need Advantage Client Engine installed and
|
||||
echo these envvars set to successfully build this library:
|
||||
echo set ACE_DIR=C:\ads\acesdk
|
||||
echo set ACE_VER=810
|
||||
echo ---------------------------------------------------------------
|
||||
|
||||
:POST_EXIT
|
||||
|
||||
@@ -63,6 +63,11 @@
|
||||
#define ADS_LINUX
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined( __WATCOMC__ ) || defined( __LCC__ )
|
||||
#define _declspec( dllexport ) __declspec( dllexport )
|
||||
#endif
|
||||
|
||||
#include "ace.h"
|
||||
|
||||
#undef ADS_MAX_KEY_LENGTH
|
||||
|
||||
Reference in New Issue
Block a user