Page 2 of 2

Re: eagle fw + mysql

PostPosted: Mon Jun 06, 2016 7:58 pm
by cnavarro
ruben Dario wrote:Gracias.
Tu has llegado a crear la libreria de Eagle


Rubén, como puedes comprobar, por el texto de mi post, y la fecha del libro, yo lo usé cuando empezaba Eagle, allá por el 2004-2005, y funcionaba muy bien, pero luego he estado algunos años sin tocar este tema. Desde entonces no he vuelto a utilizar Eagle y no dispongo de la versión actual para poder ayudarte a crear la lib.
Si tengo un rato, puedo buscar en el "baúl de los recuerdos" la versión que utilizaba e intentar crear la lib con las herramientas actuales, aunque no sé lo que me encontraré.
Por el foro, suele conectarse su autor

Re: eagle fw + mysql

PostPosted: Mon Jun 06, 2016 8:35 pm
by ruben Dario
cnavarro wrote:
ruben Dario wrote:Gracias.
Tu has llegado a crear la libreria de Eagle


Rubén, como puedes comprobar, por el texto de mi post, y la fecha del libro, yo lo usé cuando empezaba Eagle, allá por el 2004-2005, y funcionaba muy bien, pero luego he estado algunos años sin tocar este tema. Desde entonces no he vuelto a utilizar Eagle y no dispongo de la versión actual para poder ayudarte a crear la lib.
Si tengo un rato, puedo buscar en el "baúl de los recuerdos" la versión que utilizaba e intentar crear la lib con las herramientas actuales, aunque no sé lo que me encontraré.
Por el foro, suele conectarse su autor



Gracias, Te lo agradesco.

Tengo una version Vieja La 3.0, requiero crear los LIB para bcc582 y bcc7 para Harbour y xHarbour.

Re: eagle fw + mysql

PostPosted: Mon Jun 06, 2016 9:02 pm
by cnavarro
Si lo vas intentando, quizás pueda echarte una mano, a ver si lo conseguimos
Vete poniendo los errores que te da
Recuerdo que habia un fichero .bat para Harbour, otro para xHarbour y para C3 que llamaba a un .mak ( Eagle.mak )

Re: eagle fw + mysql

PostPosted: Tue Jun 07, 2016 12:20 am
by ruben Dario
cnavarro wrote:Si lo vas intentando, quizás pueda echarte una mano, a ver si lo conseguimos
Vete poniendo los errores que te da
Recuerdo que habia un fichero .bat para Harbour, otro para xHarbour y para C3 que llamaba a un .mak ( Eagle.mak )


Error Usando BCC7
Code: Select all  Expand view

MAKE Version 5.41  Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
    k:\bcc582\BIN\bcc32 -X -w -g50 -j1 -tWM -d -a8 -OS -O2 -5 -c -DHB_OS_WIN_32_USED -DHB_GUI -DHB_API_MACROS -DHB_STACK_MACROS -DHB_FM_STATISTICS_OFF -Iinclude;.\msinc;k:\Harbour\include;k:\bcc582\include /nobj source\MSCTypes.c
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
source\MSCTypes.c:
Warning W8004 k:\bcc582\include\windows\sdk\Ws2tcpip.h 626: 'dwMsgLen' is assigned a value that is never used in function gai_strerrorA
Warning W8004 k:\bcc582\include\windows\sdk\Ws2tcpip.h 648: 'dwMsgLen' is assigned a value that is never used in function gai_strerrorW
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 159: Functions containing for are not expanded inline
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 277: Functions containing for are not expanded inline
Warning W8012 k:\bcc582\include\windows\sdk\wspiapi.h 275: Comparing signed and unsigned values in function WspiapiQueryDNS
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 355: Functions containing for are not expanded inline
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 421: Functions containing for are not expanded inline
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 464: Functions containing for are not expanded inline
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 570: Functions containing some if statements are not expanded inline in function WspiapiLegacyGetAddrInfo
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 831: Functions containing switch are not expanded inline
Warning W8012 k:\bcc582\include\windows\sdk\wspiapi.h 741: Comparing signed and unsigned values in function WspiapiLegacyGetNameInfo
Warning W8012 k:\bcc582\include\windows\sdk\wspiapi.h 747: Comparing signed and unsigned values in function WspiapiLegacyGetNameInfo
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 916: Functions containing for are not expanded inline
Warning W8061 k:\bcc582\include\windows\sdk\wspiapi.h 903: Initialization is only partially bracketed in function WspiapiLoad
Warning W8061 k:\bcc582\include\windows\sdk\wspiapi.h 903: Initialization is only partially bracketed in function WspiapiLoad
Warning W8061 k:\bcc582\include\windows\sdk\wspiapi.h 903: Initialization is only partially bracketed in function WspiapiLoad
Warning W8061 k:\bcc582\include\windows\sdk\wspiapi.h 908: Initialization is only partially bracketed in function WspiapiLoad
Warning W8061 k:\bcc582\include\windows\sdk\wspiapi.h 908: Initialization is only partially bracketed in function WspiapiLoad
Warning W8061 k:\bcc582\include\windows\sdk\wspiapi.h 908: Initialization is only partially bracketed in function WspiapiLoad
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 1006: Functions containing static variables are not expanded inline in function WspiapiGetAddrInfo
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 1031: Functions containing static variables are not expanded inline in function WspiapiGetNameInfo
Warning W8027 k:\bcc582\include\windows\sdk\wspiapi.h 1049: Functions containing static variables are not expanded inline in function WspiapiFreeAddrInfo
Error E2238 k:\Harbour\include\clipdefs.h 80: Multiple declaration for 'WORD'
Error E2228 k:\Harbour\include\clipdefs.h 80: Too many error or warning messages
*** 2 errors in Compile ***

** error 2 ** deleting obj\MSCTypes.obj

 


Usando bcc582

Code: Select all  Expand view

MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    k:\bcc582\BIN\bcc32 -X -w -g50 -j1 -tWM -d -a8 -OS -O2 -5 -c -DHB_OS_WIN_32_USED -DHB_GUI -DHB_API_MACROS -DHB_STACK_MACROS -DHB_FM_STATISTICS_OFF -Iinclude;.\msinc;k:\Harbour\include;k:\bcc582\include /nobj source\MSCTypes.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
source\msctypes.c:
Warning W8061 k:\bcc582\include\wspiapi.h 898: Initialization is only partially bracketed in function WspiapiLoad
Warning W8061 k:\bcc582\include\wspiapi.h 903: Initialization is only partially bracketed in function WspiapiLoad
Error E2238 k:\Harbour\include\clipdefs.h 80: Multiple declaration for 'WORD'
Error E2228 k:\Harbour\include\clipdefs.h 80: Too many error or warning messages
*** 2 errors in Compile ***

** error 1 ** deleting obj\MSCTypes.obj
 

Re: eagle fw + mysql

PostPosted: Wed Jun 15, 2016 4:28 pm
by xmanuel
Chicos, chicos... ¿por qué no os poneis en contacto con su creador? o sea, Manu Expósito, o sea yo :oops: :roll:

Re: eagle fw + mysql

PostPosted: Wed Jun 15, 2016 5:20 pm
by cnavarro
Manu, eso fue lo que le indiqué en mi post

Por el foro, suele conectarse su autor


Saludos

Re: eagle fw + mysql

PostPosted: Mon Mar 27, 2017 7:00 am
by jnavas
Saludos
Estoy actualizando mi aplicacion con FWH17.02 utilizo Eagle para MySQL, estoy interesado en la ultima version de esta excelente libreria, agradecido de su ubicación de descarga.
Tambien necesito reemplazar rmake, por make (agradezco un ejemplo) de su utilización.

Re: eagle fw + mysql

PostPosted: Tue Mar 28, 2017 10:08 pm
by xmanuel
Tienes suerte porque voy a poner una "oferta de primavera"
- Eagle1
- TCRDD (antigua TDBF PRO)
- HDO con la RDL de SQLite
Funcionado con FWH 17.02 y posteriores
Por sólo 50 euros

Re: eagle fw + mysql

PostPosted: Mon Apr 17, 2017 12:40 am
by cnavarro
Manu, puedes poner un ejemplo muy sencillo de uso de eagle con TXBrowse, muy simple conexión y ver la tabla?
Saludos

Re: eagle fw + mysql

PostPosted: Mon Apr 17, 2017 12:43 am
by Compuin
Gracias

Si es posible un ejemplo de un ABM y TxBrowse con la Eagle1 V 3.00 ????

Re: eagle fw + mysql

PostPosted: Mon Apr 17, 2017 7:29 pm
by xmanuel
Hi Cristobal...
Sé que tengo ejemplos pero no recuerdo donde, tendría que pararme para hacerlo.
De cualquier modo es muy fácil sólo habrá que definir los codeblock de movimiento.
Con Eagle1 hay un fuente con eso para todos los browses de FWH:
Code: Select all  Expand view

//---------------------------------------------------------------------------//
// Asigna los codeblock de movimiento a un Browse

function MySetBrowse( oBrw, oDataSource )

    local lRet := .t.
    local bGoTop, bGoBottom, bSkipper
    local cClsName

    if !( ValType( oBrw ) == "O" ) .or. !( ValType( oDataSource ) == "O" )
        lRet := .f.
    else
        bGoTop := { || oDataSource:GoTop() }
        bGoBottom := { || oDataSource:GoBottom() }
        bSkipper := { | n | oDataSource:Skipper( n ) }

        cClsName := upper( oBrw:ClassName() )

        if cClsName == "TBROWSE" // El nativo de Harbour y xHarbour
            oBrw:goTopBlock := bGoTop
            oBrw:goBottomBlock := bGoBottom
            oBrw:SkipBlock := bSkipper
        elseif cClsName $ "TWBROWSE TCBROWSE TSBROWSE TGRID TXBROWSE" // Para windows
            oBrw:bGoTop := bGoTop
            oBrw:bGoBottom := bGoBottom
            oBrw:bSkip := bSkipper
            if cClsName == "TXBROWSE"
                oBrw:bBof := { || oDataSource:Bof() }
                oBrw:bEof := { || oDataSource:Eof() }
                oBrw:bBookMark :={ | n | if( n == nil, oDataSource:RecNo(), ;
                                                       oDataSource:GoTo( n ) ) }
                oBrw:bKeyNo :=  { || oDataSource:RecNo() }
                oBrw:bKeyCount := { || oDataSource:RecCount() }
                oBRw:nDataType := 4096 // DATATYPE_USER // 64  DATATYPE_MYSQL
            else
                oBrw:bLogicLen := { || oDataSource:RecCount() }
            endif
            if !( oBrw:oVScroll() == nil )
                oBrw:oVscroll():SetRange( 1, oDataSource:RecCount() )
            endif
            oBrw:Refresh()
        else
            oDataSource:oError:Say( "Browse no implementado en SetBrowse", .f. )
        endif
    endif

return( lRet )

//----------------------------------------------------------------------------//

 

Re: eagle fw + mysql

PostPosted: Mon Apr 17, 2017 7:38 pm
by cnavarro
Manu, sólo me refería a la definición del TXBrowse una vez realizada la conexión, es lo que quería ver

Saludos

Re: eagle fw + mysql

PostPosted: Mon Apr 17, 2017 7:42 pm
by Compuin
Un ejemplo sencillo, sin mucho argot tecnico es posible?