1516 Posted August 15, 2005 Report Share Posted August 15, 2005 nao consigo compilar usando DRIVER DBFCDX no harbour, quem poder mim ajudar, agradeço. Quote Link to comment Share on other sites More sharing options...
1516 Posted August 15, 2005 Author Report Share Posted August 15, 2005 nao consigo compilar usando DRIVER DBFCDX no harbour, quem poder mim ajudar, agradeço. Quote Link to comment Share on other sites More sharing options...
1516 Posted August 15, 2005 Author Report Share Posted August 15, 2005 nao consigo compilar usando DRIVER DBFCDX no harbour, quem poder mim ajudar, agradeço. Quote Link to comment Share on other sites More sharing options...
ecmsoft Posted August 31, 2005 Report Share Posted August 31, 2005 Aà vai como eu faço ! #include "ADS.CH" //Adicione esta linha ao seu PRG // Insira este texto no inicio do aplicativo, antes de manipular qualquer banco de dados. REQUEST HB_LANG_PT HB_LANGSELECT("PT") REQUEST _ADS rddRegister( "ADS", ADS_CDX ) rddsetdefault( "ADS" ) SET SERVER LOCAL SET FILETYPE TO CDX // Exemplo do layout para compilar // Este é o texto do compilador. // Arquivo: BUILD.BAT // Modifique os caminhos de acordo o suas pastas. @ECHO OFF CLS if A%1 == A GOTO :SINTAX if NOT EXIST %1.prg GOTO :NOEXIST ECHO Compiling... set include=\fw23\include;\harbour\include set hdir=\harbour set bcdir=\bcc55\bin \harbour\bin\harbour %1 /i\fw23\include;\harbour\include /m %2 %3 IF ERRORLEVEL 1 PAUSE IF ERRORLEVEL 1 GOTO EXIT echo -O2 -e%1.exe -I\BCC55\include;\harbour\include %1.c > b32.bc \bcc55\bin\bcc32 -M -c @b32.bc :ENDCOMPILE IF EXIST %1.rc \BCC55\BIN\brc32 -r %1 echo \bcc55\lib\c0w32.obj + > b32.bc echo %1.obj, + >> b32.bc echo %1.exe, + >> b32.bc echo %1.map, + >> b32.bc echo \fw23\lib\fiveh.lib + \fw23\lib\fivehc.lib + >> b32.bc echo %hdir%\lib\rtl.lib + >> b32.bc echo %hdir%\lib\vm.lib + >> b32.bc echo %hdir%\lib\gtwin.lib + >> b32.bc echo %hdir%\lib\lang.lib + >> b32.bc echo %hdir%\lib\macro.lib + >> b32.bc echo %hdir%\lib\rdd.lib + >> b32.bc echo %hdir%\lib\dbfntx.lib + >> b32.bc echo %hdir%\lib\dbfcdx.lib + >> b32.bc echo %hdir%\lib\debug.lib + >> b32.bc echo %hdir%\lib\common.lib + >> b32.bc echo %hdir%\lib\pp.lib + >> b32.bc rem Uncomment these two lines to use Advantage RDD echo %hdir%\lib\rddads.lib + >> b32.bc echo %hdir%\lib\ace32.lib + >> b32.bc echo \bcc55\lib\cw32.lib + >> b32.bc echo \bcc55\lib\import32.lib, >> b32.bc IF EXIST %1.res echo %1.res >> b32.bc ECHO * ECHO Linking... \BCC55\bin\ilink32 -Gn -aa -Tpe -s @b32.bc rem delete temporary files @del %1.C @del %1.RWS @del %1.TDS @del %1.MAP @del %1.RES IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built %1 GOTO EXIT ECHO :LINKERROR rem PAUSE * Linking errors * GOTO EXIT :SINTAX ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG ECHO {-- Don't specify .PRG extension GOTO EXIT :NOEXIST ECHO The specified PRG %1 does not exist :EXIT //Observação Para o programa funcionar, é necessário instalar alguns arquivos no computador do cliente. ACE32.DLL ADSLOC32.DLL ADSLOCAL.CFG Atenciosamente, ECM SISTEMAS Marciano Queiroz Teixeira de Freitas-Ba FW 2.4 - Harbour Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.