lucasdebeltran wrote:Hola,
Tienes que usar un cliente cvs, por ejemplo tortoise, o este: http://www.syntevo.com/smartcvs/download.html
Y ejecutar el comando.
Luego, tienes los .bat según el compilador de Harbour y C.
En samples tienes ejemplos.
Y en el blog de Biel tienes un artículo: http://bielsys.blogspot.com/2008/07/let ... -para.html
LetoDB es una pasada. Estoy haciendo pruebas con mi aplicación y no he tenido que tocar apenas nada de código.
Un saludo
cvs -d:pserver:anonymous@letodb.cvs.sourceforge.net:/cvsroot/letodb checkout -r rel-1-mt letodb
Function Main()
Local cPath := "//127.0.0.1:2812/letodb/"
REQUEST LETO, DBFCDX
RDDSETDEFAULT( "LETO" )
IF leto_Connect( cPath ) == -1 // check errors
MsgAlert( "Can't connect to server ..."+CRLF+CRLF+"Error: "+cValToChar(LETO_CONNECT_ERR()) )
quit
ENDIF
use ( cPath+"customer" ) SHARED New
dbgotop()
xbrowse()
dbcloseall()
QUIT
Return Nil
D:\letodb>make_b32
PBMake 2.17G for Clipper, C and ASM
ฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
Copyright (C) 1995-98 Phil Barnett, All Rights Reserved Worldwide
Make File -L.MAK was not found
make -l EXE_OBJ_DIR=obj\b32\bin OBJ_DIR=obj\b32 -fmakefile.bc %1 %2 %3 > make_b32.log
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
IF EXIST "bin\letodb.exe" del "bin\letodb.exe" > NUL
bcc32 @MAKE0001.@@@
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_HR437' referenced from D:\LETODB\OBJ\B32\SERVER.OBJ
Error: Unresolved external '_HB_FUN_HB_CODEPAGE_RUWIN' referenced from D:\LETODB\OBJ\B32\SERVER.OBJ
Error: Unresolved external '_HB_FUN___CLSACTIVE' referenced from D:\LETODB\OBJ\B32\SERVER.OBJ
Error: Unresolved external '_hb_retcAdopt' referenced from D:\LETODB\OBJ\B32\LETOFUNC.OBJ
Error: Unresolved external '_hb_itemPutDTL' referenced from D:\LETODB\OBJ\B32\LETOFUNC.OBJ
Error: Unresolved external '_hb_GetSetStructPtr' referenced from D:\LETODB\OBJ\B32\LETOFUNC.OBJ
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
bcc32 -c -Iinclude;D:\HARBOUR\include -d -tWM -D__WIN32__ -D__CONSOLE__ -oobj\b32\leto1.obj source\client\leto1.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
source\client\leto1.c:
Warning W8075 source\client\leto1.c 442: Suspicious pointer conversion in function leto_ConnectionNew
Error E2451 source\client\leto1.c 2218: Undefined symbol 'UINT16' in function letoPutValue
Error E2293 source\client\leto1.c 2218: ) expected in function letoPutValue
Warning W8065 source\client\leto1.c 4945: Call to function 'ISNUM' with no prototype in function HB_FUN_LETO_BEGINTRANSACTION
Warning W8065 source\client\leto1.c 4962: Call to function 'ISNIL' with no prototype in function HB_FUN_LETO_ROLLBACK
Warning W8065 source\client\leto1.c 4962: Call to function 'ISLOG' with no prototype in function HB_FUN_LETO_ROLLBACK
Warning W8065 source\client\leto1.c 4982: Call to function 'ISLOG' with no prototype in function HB_FUN_LETO_COMMITTRANSACTION
Warning W8065 source\client\leto1.c 5029: Call to function 'ISCHAR' with no prototype in function HB_FUN_LETO_SUM
Warning W8065 source\client\leto1.c 5038: Call to function 'ISCHAR' with no prototype in function HB_FUN_LETO_SUM
Warning W8065 source\client\leto1.c 5185: Call to function 'ISNIL' with no prototype in function HB_FUN_LETO_SETFASTAPPEND
Warning W8065 source\client\leto1.c 5196: Call to function 'ISCHAR' with no prototype in function HB_FUN_LETO_CLOSEALL
*** 2 errors in Compile ***
** error 1 ** deleting obj\b32\leto1.obj
lucasdebeltran wrote:Hello,
I use Harbour 3.1 and BCC 5.8.2 and I built it without problem using make_b32.bat
Please check paths at makefile.bc
I choose SRV_MODE = __CONSOLE__
Hope it helps.
Regards,
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 90 guests