topic
stringlengths
1
63
text
stringlengths
1
577k
error al leer un campo tipo texto
Saludos, ya pase por esa y creo es un cambio en las ultimas versiones de TDolphin, si lo tienes no uses Val2Escape a menos que sea un campo TEXT, con eso se resolvio el problema, espero tambien te ayude con eso, cualquier otra cosa avisas, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
error al leer un campo tipo texto
Estimado Josè Luis Gracias por tomarse el tiempo de responder. El problema que tengo con los campos, es el siguiente: en la tabla los campos carácter, están definidos como varchar ( xxx ) y NOT NULL , al añadir un registro a la tabla y al editar el campo, aparecen vacíos. En el caso de los dbf, la longitud del campo se edita perfectamente, en mysql no lo logro hacer. Hay alguna forma de decirle a mysql que no deje los campo vacíos, por que creo que el problema esta por este lado, no creo que sea problema de la clase tdoplhin. Gracias.
error al leer un campo tipo texto
Hola amigos, Aclarando el tema... la variables tipo CHAR(), son de longitud fija, VARCHAR() de longitud variable, veamos: nombre := CHAR(40), el campo nombre siempre tendrá una longitud de 40 caracteres, este con datos o vacía nombre := VARCHAR(40), en este caso el campo nombre tendrá una longitud máxima de 40 caracteres, si el campo esta vacío, devuelve "", nada, vacío, pau, nonis,,,,, si a un campo VARCHAR(100) le asigno un dato de 60 caracteres, en la DB, solo ocupara los 60 caracteres,,, lo que no sucede con CHAR(), con o sin dato, sigue ocupando la ongitud indicada. Asi que con algo de cuidado todo va ok.... Salu2
error al leer un campo tipo texto
Nose si te entiendo bien, si estas editando, es decir modificando un registro guardado te lo trae vacio.? si es asi, entonces es como te dije, que no uses Val2Escape para grabar tu campo, lo extraño es que si lo guardar con datos ya que lo tienes NOT NULL, entonces deberia traerte el valor que tienes el campo en la tabla, si puedes pon algo de codigo donde defines el valor de las variables cuando es nuevo y cuando modificas, haber si tienes algun detalle alli, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
error al leer un campo tipo texto
Willi Gracias por la aclaración, eso me sucede con los varchar.... queda vacio el campo,¡. Gracias, vere como ajusto el tipo de campo.
error al linkar
Hola a Todos: Estoy compilando por primera vez una aplicacion que tenia y he resuelto casi todo, me queda que me da un error que no se como cojerlo a ver si me podeis ayudar, a la hora de linkar pongo : ilink32 -Gn -aa -Tpe -s @archivo.lnk y me da Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\compilar\fiveh.lib|errsysw gracias por vuestra ayuda Carlos
error al linkar
Carlos, Estás usando el build de Harbour que distribuimos con FWH ? Comprueba que no tengas otra versión de Harbour instalada. Asegúrate de que estés enlazando vm.lib de Harbour
error al linkar
Hola Antonio: Despues de muchas vueltas lo hago asi: el fwhcl.bat : copy obj\c0w32.obj SET LIB =C:\compilar SET INCLUDE=C:\compilar harbour cyewin /m/n harbour rddsys /n harbour preparar /n harbour procesos /n harbour gestempr /n harbour gestacti /n harbour gestdape /n harbour gestadfa /n harbour gestconc /n harbour gestplan /n harbour gestasde /n harbour gestamor /n harbour gestepig /n harbour gestdiar /n harbour gestfact /n harbour gestbapg /n harbour gestcuan /n harbour gestcipe /n harbour gestmodu /n harbour gestlist /n harbour gestimpr /n harbour gestimp2 /n harbour gestpres /n harbour gestutil /n harbour gestauto /n harbour oleauto /n bcc32 -c cyewin.c bcc32 -c rddsys.c bcc32 -c preparar.c bcc32 -c procesos.c bcc32 -c gestempr.c bcc32 -c gestacti.c bcc32 -c gestdape.c bcc32 -c gestadfa.c bcc32 -c gestconc.c bcc32 -c gestplan.c bcc32 -c gestasde.c bcc32 -c gestamor.c bcc32 -c gestepig.c bcc32 -c gestdiar.c bcc32 -c gestfact.c bcc32 -c gestbapg.c bcc32 -c gestcuan.c bcc32 -c gestcipe.c bcc32 -c gestmodu.c bcc32 -c gestlist.c bcc32 -c gestimpr.c bcc32 -c gestimp2.c bcc32 -c gestpres.c bcc32 -c gestutil.c bcc32 -c gestauto.c bcc32 -c oleauto.c ilink32 -Gn -aa -Tpe -s @cyewin1.lnk cyewin y el archivo cyewin1.lnk es : c0w32.obj + cyewin.obj + rddsys.obj + preparar.obj + procesos.obj + gestempr.obj + gestacti.obj + gestdape.obj + gestadfa.obj + gestplan.obj + gestasde.obj + gestamor.obj + gestconc.obj + gestepig.obj + gestdiar.obj + gestfact.obj + gestbapg.obj + gestcuan.obj + gestcipe.obj + gestmodu.obj + gestlist.obj + gestimpr.obj + gestimp2.obj + gestpres.obj + gestutil.obj + gestauto.obj + oleauto.obj, + cyewin.exe, + cyewin.map, + c:\compilar\FiveH.lib + c:\compilar\FiveHC.lib + C:\compilar\codepage.lib + C:\compilar\common.lib + C:\compilar\rdd.lib + C:\compilar\dbfntx.lib + C:\compilar\dbfcdx.lib + C:\compilar\dbffpt.lib + C:\compilar\hbsix.lib + C:\compilar\debug.lib + C:\compilar\lang.lib + C:\compilar\macro.lib + C:\compilar\pp.lib + C:\compilar\rtl.lib + C:\compilar\vm.lib + C:\compilar\gtwin.lib + C:\compilar\wininet.lib + C:\compilar\cw32.lib + C:\compilar\import32.lib + C:\compilar\odbc32.lib + C:\compilar\nddeapi.lib + C:\compilar\iphlpapi.lib + C:\compilar\rasapi32.lib + C:\clipper\fast.lib creo que lo que comentas si esta y es con xharbour no con harbour y si es el que me he bajado esta mañana. un saludo Gracias
error al linkar
Carlos, Tienes que enlazar: c:\compilar\[b:1u25899n]FiveHX.lib[/b:1u25899n] + en vez de: c:\compilar\FiveH.lib + ya que estás usando xHarbour
error al linkar
Gracias Antonio, no me di cuenta del detalle, pero ya funciona. Un saludo Carlos
error al linkear con fw1007 y c582
Don Antonio... estoy recompilando mis aplicaciones desde fw0802 a fw1007 y me encuentro con el siguiente error.... * 20 --- Linkenado y Creando editor_prg.exe con ilink32 -Gn -aa -Tpe -s -v b32.bc.... Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_HB_FUN_CHARREM' referenced from I:\FWH1007\LIB\FIVEHX.LIB|XBROWSE RLINK32 Version 6.00 (c) Copyright 1992-2002 Borland Software Corporation. Input resource file #1: "TMP1.$$$" Reading resource files. Como lo puedo solucionar Saludos Solucionado añadiendo la libreria ct.lin de xharbour 1.2.1, comentario dado por Daniel Garcia Gil. mil gracias..... Donde se puede ver un manual donde explique que hay en cada una de esas librerias????
error al linkear con fw1007 y c582
Ernesto [quote="J. Ernesto":39rxwqr8]Error editor_prg.rc 3 31: Cannot open file: d:\fwsamples\samples\bitmaps\New.bmp[/quote:39rxwqr8] Verifique la ruta y que el archivo exista [quote="J. Ernesto":39rxwqr8]Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_HB_FUN_CHARREM' referenced from I:\FWH1007\LIB\FIVEHX.LIB|XBROWSE RLINK32 Version 6.00 (c) Copyright 1992-2002 Borland Software Corporation.[/quote:39rxwqr8] le falta incluir la libreria [b:39rxwqr8]ct.lib[/b:39rxwqr8] de xharbour
error al personalizar hoja de excel despues de toexcel()
Mr. RAO a la hoja excel que exporto desde xbrowse quiero personalizarla , la primera exporta, pero luego lo hace pero con este error: [img:324fh99c]https&#58;//subir-imagen&#46;com/images/2022/11/22/error&#46;jpg[/img:324fh99c] Este es mi codigo: [code=fw:324fh99c]<div class="fw" id="{CB}" style="font-family: monospace;"><br />    <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwDet                             ;        <br />        DATASOURCE oRs2                                  ;<br />        COLUMNS <span style="color: #ff0000;">"id"</span>,<span style="color: #ff0000;">"numero"</span>, <span style="color: #ff0000;">"bruto"</span>,<span style="color: #ff0000;">"neto"</span>,<span style="color: #ff0000;">"brupi"</span>,<span style="color: #ff0000;">"fsali"</span> ;<br />              ,<span style="color: #ff0000;">"parte"</span>,<span style="color: #ff0000;">"pneto"</span>                           ;<br />        FIELDSIZES <span style="color: #000000;">50</span>,<span style="color: #000000;">60</span>,<span style="color: #000000;">100</span>,<span style="color: #000000;">100</span>,<span style="color: #000000;">100</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">60</span>,<span style="color: #000000;">100</span>           ;<br />        HEADERS <span style="color: #ff0000;">"id"</span>                                     ;<br />              ,<span style="color: #ff0000;">"CAJA"</span>                                    ;<br />              ,<span style="color: #ff0000;">"BRUTO FAB."</span>                              ;<br />              ,<span style="color: #ff0000;">"NETO FAB."</span>                               ;<br />              ,<span style="color: #ff0000;">"BRUTO PYSA"</span>                              ;<br />              ,<span style="color: #ff0000;">"F.SALIDA  "</span>                              ;<br />              ,<span style="color: #ff0000;">"PARTE"</span>                                   ;<br />              ,<span style="color: #ff0000;">"NETO"</span>                                    ;<br />        PICTURES ,,<span style="color: #ff0000;">'9,999.999'</span>,<span style="color: #ff0000;">'9,999.999'</span>, <span style="color: #ff0000;">'9,999.999'</span>,,,<span style="color: #ff0000;">'9,999.999'</span> ;<br />        <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4025</span> <span style="color: #0000ff;">OF</span> oDlgDet                               ;<br />        AUTOSORT LINES CELL NOBORDER <span style="color: #0000ff;">UPDATE</span><br /><br />        oBrwDet:<span style="color: #000000;">nStretchCol</span>    := STRETCHCOL_WIDEST<br />        oBrwDet:<span style="color: #000000;">nMarqueeStyle</span>    = MARQSTYLE_HIGHLROW<br />        oBrwDet:<span style="color: #000000;">bClrSel</span>     := <span style="color: #000000;">&#123;</span>|| <span style="color: #000000;">&#123;</span>  CLR_WHITE, GetSysColor<span style="color: #000000;">&#40;</span><span style="color: #000000;">13</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#125;</span>   <span style="color: #B900B9;">//ESTO HACE QUE NO SALGA LINEA NEGRA</span><br />        oBrwDet:<span style="color: #000000;">lSeekWild</span>   := .t.<br />        <br /><span style="color: #000000;">&#123;</span>CLR_BLACK, CLR_WHITE<span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>                  <br />        oBrwDet:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bClrStd</span> := <span style="color: #000000;">&#123;</span>|| iif <span style="color: #000000;">&#40;</span>oRs2:<span style="color: #000000;">recordcount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>><span style="color: #000000;">0</span>, <span style="color: #000000;">&#123;</span> iif<span style="color: #000000;">&#40;</span> oRs2:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"brupi"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">value</span>>oRs2:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"bruto"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">value</span>, CLR_HRED, CLR_BLACK<span style="color: #000000;">&#41;</span>, CLR_WHITE <span style="color: #000000;">&#125;</span>,<span style="color: #000000;">&#123;</span>CLR_BLACK, CLR_WHITE<span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span>                 <br /><br />        <span style="color: #00C800;">if</span> oRs2:<span style="color: #000000;">recordcount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>><span style="color: #000000;">0</span><br />          WITH OBJECT oBrwDet:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">6</span> <span style="color: #000000;">&#93;</span><br />            :<span style="color: #000000;">bStrData</span>         := <span style="color: #000000;">&#123;</span>|| iif<span style="color: #000000;">&#40;</span> empty<span style="color: #000000;">&#40;</span>oRs2:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"fsali"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">' '</span>,oRs2:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"fsali"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br />          END WITH<br />        <span style="color: #00C800;">endif</span><br /><br />          oBrwDet:<span style="color: #000000;">lHScroll</span> := .t.<br />          oBrwDet:<span style="color: #000000;">lVScroll</span> := .t.<br />          oBrwDet:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">lHide</span>:=.t.  <span style="color: #B900B9;">//para ocultar columnas</span><br /><br /><br />        <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4014</span> <span style="color: #0000ff;">OF</span> oDlgDet <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #000000;">2007</span> NOBORDER <span style="color: #0000ff;">CENTER</span>  ;           <br />       <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span>  oExcel:=oBrwDet:<span style="color: #000000;">ToExcel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> , oExcel:<span style="color: #000000;">Columns</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">autofit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>       <br />       oBtn:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"Exportar Lote"</span>   <br /> </div>[/code:324fh99c] si cambio mi codigo y lo dejo asi no tengo error [code=fw:324fh99c]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4014</span> <span style="color: #0000ff;">OF</span> oDlgDet <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #000000;">2007</span> NOBORDER <span style="color: #0000ff;">CENTER</span>  ;           <br /><span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span>  oExcel:=oBrwDet:<span style="color: #000000;">ToExcel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span>       <br />oBtn:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"Exportar Lote"</span>   <br /> </div>[/code:324fh99c] Podria decirme que estoy haciendo mal? he notado que si antes de exportar cierro la hoja excel que estuviese abierta no hay error. Gracias
error al personalizar hoja de excel despues de toexcel()
Hola, Vendría muy bien una imagen de la parte inicial del archivo de error. Ahi se ve la variable que provocó el error Salu2
error al personalizar hoja de excel despues de toexcel()
Gracias, detallo error: Application =========== Path and name: Z:\b1\cajas.exe (32 bits) Size: 4,676,096 bytes Compiler version: Harbour 3.2.0dev (r1703231115) FiveWin version: FWH 17.12 C compiler version: Borland/Embarcadero C++ 7.0 (32-bit) Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 24 secs Error occurred at: 22/11/2022, 17:56:50 Error description: Error BASE/1004 No exported method: COLUMNS Args: [ 1] = A { ... } length: 2 [ 2] = N 2 Stack Calls =========== Called from: => COLUMNS( 0 ) Called from: .\dlgguia.PRG => (b)NUEVODET( 0 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 688 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 928 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1883 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 ) Called from: => DIALOGBOX( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 ) Called from: .\dlgguia.PRG => NUEVODET( 0 ) Called from: .\dlgguia.PRG => PROCMTN( 0 ) Called from: .\dlgguia.PRG => (b)GUIA( 0 ) Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK( 179 ) Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1685 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 ) Called from: => SENDMESSAGE( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:COMMAND( 424 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 922 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1037 ) Called from: .\mcajas.PRG => MSIS:XSHELL( 0 ) Called from: .\cajas.PRG => CAJAS( 0 )
error al personalizar hoja de excel despues de toexcel()
Algo errado aqui: [code=fw:3pa1c3v1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Called <span style="color: #0000ff;">from</span>: .\dlgguia.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>NUEVODET<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:3pa1c3v1] Que FLAGS usas para compilar que no aparece la lynea del error en el .PRG? Regards, saloudos.
error al personalizar hoja de excel despues de toexcel()
Este es mi archivo .mak #Borland make sample, (c) FiveTech Software 2005-2009 HBDIR=c:\1712\harbour BCDIR=c:\1712\bcc7 FWDIR=c:\1712\fwh #change these paths as needed .path.OBJ = .\obj .path.PRG = .\ .path.CH = $(FWDIR)\include;$(HBDIR)\include .path.C = .\ .path.rc = .\ #important: Use Uppercase for filenames extensions, in the next two rules! PRG = \ cajas.PRG \ tcajas.PRG \ mcajas.PRG \ rddsys.PRG \ password.PRG \ libsis.PRG \ especial.PRG \ brwartic.PRG \ brwtipca.PRG \ brwclie.PRG \ brwfactu.PRG \ brwtabla.PRG \ brwconpa.PRG \ brwtipno.PRG \ brwmate.PRG \ brwcolor.PRG \ brwubi.PRG \ brwgeo.PRG \ brwerr.PRG \ brwpatro.PRG \ brwperio.PRG \ brwprove.PRG \ dlgguia.PRG \ dlgigv.PRG \ m2011.PRG \ rfactura.PRG \ rfacbol.PRG \ rpedido.PRG \ ringresom.PRG \ rsalida.PRG \ rsalidam.PRG \ ringsal.PRG \ ringsalv.PRG \ rconsol.PRG \ rlote.PRG \ rmsali.PRG \ rartfec.PRG \ rfecart.PRG \ rlotev.PRG \ rvtaxm.PRG \ rdecrec.PRG \ rstock.PRG \ rstockp.PRG \ rmovim.PRG \ rsalproy.PRG \ tdosprn.PRG \ txtview.PRG #rpruexc.PRG \ PROJECT : Cajas.exe Cajas.exe : $(PRG:.PRG=.obj) echo off echo $(BCDIR)\lib\c0w32.obj + > b32.bc echo obj\cajas.obj \ obj\tcajas.obj \ obj\mcajas.obj \ obj\rddsys.obj \ obj\password.obj \ obj\libsis.obj \ obj\especial.obj \ obj\brwartic.obj \ obj\brwtipca.obj \ obj\brwclie.obj \ obj\brwfactu.obj \ obj\brwtabla.obj \ obj\brwconpa.obj \ obj\brwtipno.obj \ obj\brwmate.obj \ obj\brwcolor.obj \ obj\brwubi.obj \ obj\brwgeo.obj \ obj\brwerr.obj \ obj\brwpatro.obj \ obj\brwperio.obj \ obj\brwprove.obj \ obj\dlgguia.obj \ obj\dlgigv.obj \ obj\m2011.obj \ obj\rfactura.obj \ obj\rfacbol.obj \ obj\rpedido.obj \ obj\ringresom.obj \ obj\rartfec.obj \ obj\rmsali.obj \ obj\rfecart.obj \ obj\rlotev.obj \ obj\rvtaxm.obj \ obj\rdecrec.obj \ obj\rsalida.obj \ obj\rsalidam.obj \ obj\ringsal.obj \ obj\ringsalv.obj \ obj\rconsol.obj \ obj\rlote.obj \ obj\rstock.obj \ obj\rstockp.obj \ obj\rmovim.obj \ obj\rsalproy.obj \ obj\tdosprn.obj \ obj\txtview.obj , + >> b32.bc # obj\rpruexc.obj \ #echo $(OBJS), + >> b32.bc echo cajas.exe, + >> b32.bc echo cajas.map, + >> b32.bc echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc echo $(HBDIR)\lib\hbvm.lib + >> b32.bc echo $(HBDIR)\lib\gtgui.lib + >> b32.bc echo $(HBDIR)\lib\hblang.lib + >> b32.bc echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc echo $(HBDIR)\lib\rddntx.lib + >> b32.bc echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc echo $(HBDIR)\lib\hbsix.lib + >> b32.bc echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc echo $(HBDIR)\lib\hbpp.lib + >> b32.bc echo $(HBDIR)\lib\hbwin.lib + >> b32.bc echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc echo $(HBDIR)\lib\hbct.lib + >> b32.bc echo $(HBDIR)\lib\xhb.lib + >> b32.bc echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc echo $(HBDIR)\lib\hbziparc.lib + >> b32.bc echo $(HBDIR)\lib\hbmzip.lib + >> b32.bc echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc echo $(HBDIR)\lib\minizip.lib + >> b32.bc echo $(HBDIR)\lib\hbusrrdd.lib + >> b32.bc echo $(HBDIR)\lib\hbtip.lib + >> b32.bc rem Uncomment these two lines to use Advantage RDD rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc echo $(BCDIR)\lib\cw32.lib + >> b32.bc echo $(BCDIR)\lib\import32.lib + >> b32.bc echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc echo $(BCDIR)\lib\psdk\rasapi32.lib+ >> b32.bc echo $(BCDIR)\lib\psdk\shell32.lib, >> b32.bc IF EXIST Cajas.res echo Cajas.res >> b32.bc $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc >log-prg.txt del b32.bc .prg.obj: $(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include >log-prg.txt $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c Cajas.res : Cajas.rc # $(BCDIR)\bin\brc32.exe -r Xbincflt.rc
error al personalizar hoja de excel despues de toexcel()
Buén dia. Cambie aqui para generar el ERROR.LOG correcto: [code=fw:186prsb4]<div class="fw" id="{CB}" style="font-family: monospace;"><br />.prg.obj:<br />$<span style="color: #000000;">&#40;</span>HBDIR<span style="color: #000000;">&#41;</span>\bin\harbour $< /M /N /W /Oobj\ /I$<span style="color: #000000;">&#40;</span>FWDIR<span style="color: #000000;">&#41;</span>\include;$<span style="color: #000000;">&#40;</span>HBDIR<span style="color: #000000;">&#41;</span>\include >log-prg.txt<br /> </div>[/code:186prsb4] Ó: [code=fw:186prsb4]<div class="fw" id="{CB}" style="font-family: monospace;"><br />.prg.obj:<br />$<span style="color: #000000;">&#40;</span>HBDIR<span style="color: #000000;">&#41;</span>\bin\harbour $< /N /W /Oobj\ /I$<span style="color: #000000;">&#40;</span>FWDIR<span style="color: #000000;">&#41;</span>\include;$<span style="color: #000000;">&#40;</span>HBDIR<span style="color: #000000;">&#41;</span>\include >log-prg.txt<br /> </div>[/code:186prsb4] /l suppress line number information Regards, saludos.
error al personalizar hoja de excel despues de toexcel()
[code=fw:2kbjln8j]<div class="fw" id="{CB}" style="font-family: monospace;"><br />xHarbour <span style="color: #000000;">1.2</span><span style="color: #000000;">.3</span> Intl. <span style="color: #000000;">&#40;</span>SimpLex<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span>Build <span style="color: #000000;">20201212</span><span style="color: #000000;">&#41;</span><br />Copyright <span style="color: #000000;">1999</span><span style="color: #000000;">-2020</span>, http:<span style="color: #B900B9;">//www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --></span><br /><br />Syntax: &nbsp;<span style="color: #000000;">C</span>:\XHBBCC74\bin\harbour.exe <file<span style="color: #000000;">&#91;</span>s<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>.prg<span style="color: #000000;">&#93;</span>> <span style="color: #000000;">&#91;</span>options<span style="color: #000000;">&#93;</span><br /><br />Options: &nbsp;/a &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; automatic memvar declaration<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /b &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; debug info<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /build &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">display</span> detailed version info<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /credits &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">display</span> credits<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /d<id><span style="color: #000000;">&#91;</span>=<val><span style="color: #000000;">&#93;</span> &nbsp; <span style="color: #00D7D7;">#define</span> <id><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /es<span style="color: #000000;">&#91;</span><level><span style="color: #000000;">&#93;</span> &nbsp; &nbsp; set exit severity<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /ex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;create <span style="color: #00C800;">public</span> <span style="color: #00C800;">function</span> list <span style="color: #000000;">&#40;</span>.xbx<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /g<type> &nbsp; &nbsp; &nbsp; &nbsp; output type generated is <type> <span style="color: #000000;">&#40;</span>see below<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /gc<span style="color: #000000;">&#91;</span><type><span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp;output type: <span style="color: #000000;">C</span> source <span style="color: #000000;">&#40;</span>.c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span><span style="color: #00C800;">default</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<type>: <span style="color: #000000;">0</span>=compact <span style="color: #000000;">1</span>=<span style="color: #0000ff;">normal</span> <span style="color: #000000;">2</span>=verbose <span style="color: #000000;">&#40;</span><span style="color: #00C800;">default</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">3</span>=generate real C code<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /go &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;output type: <span style="color: #000000;">Platform</span> dependant object module<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /gh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;output type: <span style="color: #000000;">Harbour</span> Portable Object <span style="color: #000000;">&#40;</span>.hrb<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /i<path> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00D7D7;">#include</span> file search path<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /j<span style="color: #000000;">&#91;</span><file><span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp; output i18n support <span style="color: #000000;">&#91;</span><span style="color: #0000ff;">to</span> <file><span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">to</span> .hil<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /k &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; compilation mode <span style="color: #000000;">&#40;</span>type -k? <span style="color: #00C800;">for</span> more <span style="color: #00C800;">data</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /l &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; suppress line number information<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /m &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; compile module only<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /n<span style="color: #000000;">&#91;</span><type><span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp; no implicit starting procedure <span style="color: #000000;">&#40;</span><span style="color: #00C800;">default</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<type>: <span style="color: #000000;">0</span>=no implicit starting procedure<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">1</span>=no starting procedure <span style="color: #00C800;">at</span> all<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">2</span>=force application starting procedure<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /o<path> &nbsp; &nbsp; &nbsp; &nbsp; object file drive and/or path<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /p<span style="color: #000000;">&#91;</span>o<path><span style="color: #000000;">&#93;</span> &nbsp; &nbsp; &nbsp;generate pre-processed output <span style="color: #000000;">&#40;</span>.ppo<span style="color: #000000;">&#41;</span> file in <path><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /<span style="color: #0000ff;">pt</span><span style="color: #000000;">&#91;</span>o<path><span style="color: #000000;">&#93;</span> &nbsp; &nbsp; generate pre-processor trace <span style="color: #000000;">&#40;</span>.ppt<span style="color: #000000;">&#41;</span> file in <path><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /q &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; quiet<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /q0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;quiet and don<span style="color: #ff0000;">'t display program header<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; syntax check only<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /u[[+]<file>] &nbsp; &nbsp;use command def set in <file> (or none)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /undef:<id> &nbsp; &nbsp; &nbsp;#undef <id><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /v &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; variables are assumed M-><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /vd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external functions are assumed as dynamic functions<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /w[<level>] &nbsp; &nbsp; &nbsp;set warning level number (0..3, default 1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /x[<prefix>] &nbsp; &nbsp; set symbol init function name prefix (for .c only)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /z &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; suppress shortcutting (.and. & .or.)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @<file> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;compile list of modules in <file><br /></span></div>[/code:2kbjln8j] Regards, saludos.
error al personalizar hoja de excel despues de toexcel()
In the xbrowse.prg Please insert [code=fw:2upec8u4]<div class="fw" id="{CB}" style="font-family: monospace;">SysRefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// insert now</span><br /><span style="color: #00C800;">return</span> oSheet</div>[/code:2upec8u4] just before return oSheet
error al personalizar hoja de excel despues de toexcel()
Mr. Rao: hice el cambio en el xbrowse.prg [code=fw:tzj8o043]<div class="fw" id="{CB}" style="font-family: monospace;"><br />#ifndef __XHARBOUR__<br />   <span style="color: #00C800;">else</span><br />      <span style="color: #B900B9;">//</span><br />      <span style="color: #B900B9;">//SysRefresh()</span><br />      <span style="color: #B900B9;">//</span><br />      <span style="color: #B900B9;">// This requires explanation.</span><br />      <span style="color: #B900B9;">// With xHarbour there is no problem. Problem is with Harbour only</span><br />      <span style="color: #B900B9;">// return value of this function is oSheet which is an Object. xHarbour returns as object</span><br />      <span style="color: #B900B9;">// If SysRefresh() is called here, Harbour returns oSheet as an object</span><br />      <span style="color: #B900B9;">// if not it returns an Array of two numeric elements.</span><br />      <span style="color: #B900B9;">// I am unable to understand this phenomenon.</span><br />      <span style="color: #B900B9;">// Till we understand what is happening, keep SysRefresh() here for</span><br />      <span style="color: #B900B9;">// Harbour build.</span><br />      <span style="color: #B900B9;">// 2015-06-02</span><br />#endif<br />   <span style="color: #00C800;">endif</span><br />   SysRefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span> oSheet<br /> </div>[/code:tzj8o043] Ahora verifico con un msgalert() que es lo que devuelve y da como como resultado 'O' [code=fw:tzj8o043]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4014</span> <span style="color: #0000ff;">OF</span> oDlgDet <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #000000;">2007</span> NOBORDER <span style="color: #0000ff;">CENTER</span>  ;           <span style="color: #B900B9;">//38</span><br /><span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span>  oExcel:=oBrwDet:<span style="color: #000000;">ToExcel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,msgalert<span style="color: #000000;">&#40;</span>valtype<span style="color: #000000;">&#40;</span>oExcel<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oExcel:<span style="color: #000000;">Columns</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">hidden</span>:=.t., oexcel:<span style="color: #000000;">Columns</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">autofit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>       <br />oBtn:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"Exportar Lote"</span>    <br /><br /> </div>[/code:tzj8o043] He notado que la sgte instruccion oExcel:Columns(1):hidden:=.t. o cualquier otra instruccion oExcel:xxx corre siempre y cuando el excel este abierto si esta cerrado el excel bota el mismo de error de siempre [quote:tzj8o043] Application =========== Path and name: Z:\b1\cajas.exe (32 bits) Size: 4,681,728 bytes Compiler version: Harbour 3.2.0dev (r1703231115) FiveWin version: FWH 17.12 C compiler version: Borland/Embarcadero C++ 7.0 (32-bit) Windows version: 6.2, Build 9200 Time from start: 0 hours 2 mins 26 secs Error occurred at: 29/11/2022, 17:14:17 Error description: (DOS Error -2147418111) WINOLE/1009 No exported method: COLUMNS Args: [ 1] = N 1 Stack Calls =========== Called from: => TOLEAUTO:COLUMNS( 0 ) Called from: .\dlgguia.PRG => (b)NUEVODET( 539 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 688 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 928 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1883 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 ) Called from: => DIALOGBOX( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 ) Called from: .\dlgguia.PRG => NUEVODET( 642 ) Called from: .\dlgguia.PRG => PROCMTN( 199 ) Called from: .\dlgguia.PRG => (b)GUIA( 136 ) Called from: .\source\classes\WINDOW.PRG => TWINDOW:LDBLCLICK( 1997 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:LDBLCLICK( 1744 ) Called from: .\xbrowse.PRG => TXBROWSE:LDBLCLICK( 4737 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 ) Called from: .\xbrowse.PRG => TXBROWSE:HANDLEEVENT( 10297 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3356 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1037 ) Called from: .\mcajas.PRG => MSIS:XSHELL( 0 ) Called from: .\cajas.PRG => CAJAS( 0 ) [/quote:tzj8o043] Adjunto mi fuente xbrowse.prg para ser descargado <!-- m --><a class="postlink" href="https://www.transfernow.net/dl/20221129wUHSN8uF/aE00CpV0">https://www.transfernow.net/dl/20221129 ... F/aE00CpV0</a><!-- m -->
error al personalizar hoja de excel despues de toexcel()
Sorry Mr. Rao: le saque la instruccion msgalert(..) y ya funciona [code=fw:21k5v1xe]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4014</span> <span style="color: #0000ff;">OF</span> oDlgDet <span style="color: #0000ff;">UPDATE</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #000000;">2007</span> NOBORDER <span style="color: #0000ff;">CENTER</span> &nbsp;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//38</span><br /><span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> &nbsp;oExcel:=oBrwDet:<span style="color: #000000;">ToExcel</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,oExcel:<span style="color: #000000;">Columns</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">hidden</span>:=.t., oexcel:<span style="color: #000000;">Columns</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">autofit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,oExcel:<span style="color: #000000;">Cells</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span>,<span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> :=<span style="color: #ff0000;">'TOTALES :'</span>, oExcel:<span style="color: #000000;">Cells</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">1</span>,<span style="color: #000000;">10</span><span style="color: #000000;">&#41;</span>:<span style="color: #0000ff;">Font</span>:<span style="color: #000000;">Bold</span> := .t. <span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; <br />oBtn:<span style="color: #000000;">cTooltip</span> := <span style="color: #ff0000;">"Exportar Lote"</span> &nbsp; &nbsp;<br /><br />&nbsp;</div>[/code:21k5v1xe] Thank you!
error al totalizar columna xbrowse
Hola foro estoy tratando de totalizar una columna en xbrowse pero me tira este error: [url=http&#58;//subefotos&#46;com/ver/?67d8bac6360739f193d9d378d1f6c50bo&#46;jpg:1aq6wo7p][img:1aq6wo7p]http&#58;//thumbs&#46;subefotos&#46;com/67d8bac6360739f193d9d378d1f6c50bo&#46;jpg[/img:1aq6wo7p][/url:1aq6wo7p] AGGR_SUM , totaliza la columna por si sola? [code=fw:1aq6wo7p]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   XBrNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'A'</span>, .t. <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwDet                                               ;        <span style="color: #B900B9;">//19</span><br />      FIELDS DETPARTET->articu                                            ;<br />            ,Articulo->DesG                                               ;<br />            ,DETPARTET->Cantid                                            ;<br />            ,articulo->Cap*DETPARTET->Cantid                              ;<br />            ,DETPARTET->Precio                                            ;<br />            ,<span style="color: #0000ff;">round</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>articulo->Cap*DETPARTET->Cantid<span style="color: #000000;">&#41;</span>*DETPARTET->Precio,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> ;<br />      FIELDSIZES <span style="color: #000000;">65</span>,<span style="color: #000000;">200</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">70</span>                    ;<br />      HEADERS <span style="color: #ff0000;">"Codigo"</span>                                 ;<br />             ,<span style="color: #ff0000;">"Descripción"</span>                            ;<br />             ,<span style="color: #ff0000;">"Cant."</span>                                  ;<br />             ,<span style="color: #ff0000;">"Metros"</span>                                 ;<br />             ,<span style="color: #ff0000;">"Precio"</span>                                 ;<br />             ,<span style="color: #ff0000;">"Importe"</span>                                ;            <br />      <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4001</span> <span style="color: #0000ff;">OF</span> oDlgDet                               ;<br />      LINES CELL NOBORDER <span style="color: #0000ff;">UPDATE</span> FOOTERS<br />      <br />      WITH OBJECT oBrwDet<br />          :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nFooterType</span>        := AGGR_SUM<br />          :<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      END<br /><br /> </div>[/code:1aq6wo7p]
error al totalizar columna xbrowse
Me funciona bien asi....saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> WITH OBJECT aBrw[9] // COLUMNAS :aCols[2]:cFooter := "Total --->" *** :aCols[3]:nTotal := 0 // PARA TOTALIZAR COL.(MakeTotals) END
error al totalizar columna xbrowse
[b:3d0t8o9d]IMPORTANT:[/b:3d0t8o9d] Please add [code=fw:3d0t8o9d]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"articulo"</span><br />&nbsp;</div>[/code:3d0t8o9d] to the REDEFINE command. It is important that Browse knows the alias name when you define xbrowse. If you are calling oBrw:SetRDD() later, please do not call it.
error al totalizar columna xbrowse
Thank Mr. Rao and JoseLuis Now run Ok this is my code [code=fw:1da0gw3x]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   XBrNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'A'</span>, .t. <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwDet  ;<br />      <span style="color: #0000ff;">ALIAS</span> <span style="color: #ff0000;">"DETPARTET"</span>       ;<br />      COLUMNS <span style="color: #ff0000;">"ARTICU"</span>,<span style="color: #ff0000;">"ARTICULO->DESG"</span>,<span style="color: #ff0000;">"CANTID"</span>,<span style="color: #ff0000;">"ARTICULO->CAP*CANTID"</span>,<span style="color: #ff0000;">"PRECIO"</span>,<span style="color: #ff0000;">"round((articulo->Cap*Cantid)*Precio,2)"</span>;<br />      FIELDSIZES <span style="color: #000000;">65</span>,<span style="color: #000000;">200</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">70</span>,<span style="color: #000000;">70</span>                    ;<br />      HEADERS <span style="color: #ff0000;">"Codigo"</span>                                 ;<br />             ,<span style="color: #ff0000;">"Descripción"</span>                            ;<br />             ,<span style="color: #ff0000;">"Cant."</span>                                  ;<br />             ,<span style="color: #ff0000;">"Metros"</span>                                 ;<br />             ,<span style="color: #ff0000;">"Precio"</span>                                 ;<br />             ,<span style="color: #ff0000;">"Importe"</span>                                ;            <br />      <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4001</span> <span style="color: #0000ff;">OF</span> oDlgDet                               ;<br />      LINES CELL NOBORDER <span style="color: #0000ff;">UPDATE</span> FOOTERS<br />      <br />      WITH OBJECT oBrwDet<br />        :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cFooter</span>:=<span style="color: #ff0000;">"Total -->"</span>      <br />          :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nTotal</span>:=<span style="color: #000000;">0</span><br />        :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nTotal</span>:=<span style="color: #000000;">0</span><br />        :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nTotal</span>:=<span style="color: #000000;">0</span>        <br />          :<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      END<br /><br /> </div>[/code:1da0gw3x]
error al totalizar columna xbrowse
This is better [code=fw:2goa3wpe]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; WITH OBJECT oBrwDet<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cFooter</span>:=<span style="color: #ff0000;">"Total -->"</span> &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>::<span style="color: #000000;">nFooterType</span> := AGGR_SUM<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span>::<span style="color: #000000;">nFooterType</span> := AGGR_SUM<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">6</span><span style="color: #000000;">&#93;</span>::<span style="color: #000000;">nFooterType</span> := AGGR_SUM &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; END<br />&nbsp;</div>[/code:2goa3wpe]
error al totalizar columna xbrowse
run perfect! Thank you Mr. Rao
error al trabajar con Xbrowse
Estimados, tengo una búsqueda incremental que trabaja con xbrowse, cuando hago la búsqueda en la columna ordenada por defecto, la lee bien, al presionar la teclas todo ok, pero si cambio a otra columna, para hacer misma búsqueda pero con otro campo, me tira error, pero si vuelvo a la columna inicial, trabaja bien de nuevo, es decir, solo me opera con un solo index ordenado, que seria que que viene por defecto en la apertura y necesito que haga esto para cualquier columna que yo trabaje.. el erro es el siguiente Called from: => DBSEEK( 0 ) Called from: D:\KPIDATA\PRG\rem001.prg => PSEEK( 75 ) Called from: D:\KPIDATA\PRG\tablas.prg => (b)MAIN_AREA( 7420 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SEEK( 6119 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYCHAR( 2366 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1724 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11742 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3177 ) este es una funcion de lo que sucede. Function Main_Familia(cEmpresa,cUser,cCuentas) Local oDlg, oBrw, oFont2, oCol, oSay, oBtn2[ 9 ] Close DataBase Select 01 Do While .T. If NET_USE("Tab_Fam",.F.,0) Set Index to Tab_Fam1,Tab_Fam2 Set order to 2 exit Else ESTADO_DBF() RETURN Nil Endif Enddo Define Font oFont2 Name "Tahoma" Size 0,-11 Bold DEFINE DIALOG oDlg ResName "BROW6BC" TITLE "Tabla/Archivos Familia o Linea de Productos.. " TRANSPARENT COLOR Rgb( 255, 0, 0 ), Rgb(185,220,255) oBrw:=TxBrowse():New(oDlg) oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW // Con cursor de todo el renglón oBrw:nColDividerStyle := LINESTYLE_RAISED oBrw:nRowDividerStyle := LINESTYLE_RAISED oBrw:bClrSelFocus := {|| { nRGB( 0, 0, 0), nRGB(128,255,128) } } // para barra de linea selecc cuando el control tiene el foco oBrw:lColDividerComplete := (.t.) // (.T.) Mantiene siempre llena la pantalla oBrw:nHeaderHeight := 35 // Altura de los encabezados oBrw:nRowHeight := 25 // Altura del renglón oBrw:nHeaderLines := 3 // Número de líneas de encabezados oBrw:nDataLines := 2 // Número de líneas de detalle oBrw:nFooterHeight := 20 // Altura del footer oBrw:nFooterLines := 2 // Número de líneas en el footer oBrw:lFooter := (.T.) // Sí queremos línea de footer oBrw:lHScroll := (.T.) // Quitamos el scroll horizontal oBrw:bClrHeader := {|| { nRGB(000,000,000), nRGB(128,255,128) } } oBrw:bClrStd := { || If( oBrw:KeyNo() % 2 == 0, { CLR_BLACK, RGB( 224, 236, 255 ) }, { CLR_BLACK, RGB( 189, 211, 253 ) } ) } oBrw:bClrFooter := {|| { nRGB(000,000,000), nRGB(150,200,200) } } oBrw:bClrSel := {|| { nRGB(000,000,000), nRGB(128,255,128) } } // para barra de linea selecc cuando el control no tiene el foco oBrw:nStretchCol := STRETCHCOL_WIDEST oBrw:oFont := oFont2 oCol := oBrw:AddCol() oCol:bStrData := { || Tab_Fam->Cod_Fam } oCol:cHeader := "Codigo" oCol:nWidth := 100 oCol:cSortOrder :="Tab_Fam1" oCol := oBrw:AddCol() oCol:bStrData := { || Tab_Fam->Nom_Fam } oCol:cHeader := "Nombre" oCol:nWidth := 300 oCol:cSortOrder :="Tab_Fam2" oBrw:bSeek := {|c| PSeek( c ) } oBrw:bLDblClick := {|| Add_Fam(.F.) } oBrw:bKeyDown :={ | nKey | TeclasFam(nKey, oBrw, cEmpresa) } oBrw:CreateFromResource(1000) Redefine Say oBrw:oSeek Var oBrw:cSeek Id 1001 Of oDlg Picture "@!" Font oFont2 COLOR RGB(128,0,0) ACTIVATE DIALOG oDlg CENTERED oFont2:End() Close DataBase Return NIl
error al trabajar con Xbrowse
Indique la descripcion del error
error al trabajar con Xbrowse
Estimado, tengo un archivo ordenado x codigo y nombre, deseo hacer una busqueda incremental con cualquiera de esos campos, yo ingreso al browse con el index ordenado por nombre y la busqueda todo bien, pero cuando pincho para ordenar por codigo (uso xbrowse), me sale lo que sale en el log.. de error.. esto lo hacia en TSbrowse y corria de lujo, pero no se porque Xbrowse no lo respeta... ahora me sale quit y default, no me reconoce el ordenamiento. Application =========== Path and name: D:\KPIDATA\KPIDATA.Exe (32 bits) Size: 1,788,928 bytes Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 9445) FiveWin Version: FWHX 12.08 Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 10 secs Error occurred at: 08/05/2017, 12:46:17 Error description: Error DBFCDX/1201 Workarea not indexed Stack Calls =========== Called from: => DBSEEK( 0 ) Called from: D:\KPIDATA\PRG\rem001.prg => PSEEK( 75 ) Called from: D:\KPIDATA\PRG\tablas.prg => (b)MAIN_FAMILIA( 82 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SEEK( 6119 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYCHAR( 2366 ) Called from: => TWINDOW:HANDLEEVENT( 0 ) Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1724 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11742 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3177 ) Called from: => DIALOGBOX( 0 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 270 ) Called from: D:\KPIDATA\PRG\tablas.prg => MAIN_FAMILIA( 89 ) Called from: D:\KPIDATA\PRG\gestion.prg => (b)BUILDMENU( 179 ) Called from: .\source\classes\MENU.PRG => TMENU:COMMAND( 461 ) Called from: .\source\classes\WINDOW.PRG => TWINDOW:COMMAND( 1037 ) Called from: .\source\classes\MDIFRAME.PRG => TMDIFRAME:COMMAND( 247 ) Called from: => TMDIFRAME:HANDLEEVENT( 0 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3177 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 990 ) Called from: D:\KPIDATA\PRG\gestion.prg => MAIN( 161 )
error al trabajar con Xbrowse
no me habia percatado, al usar y compilar con FWH8.12, y BCC55, funciona todo ok, pero si uso FWH13.2 y BCC 582, me reclama este error.
error alphablend
Hola a todosUse Verce 5.3 y fwh8.10, cuando trato de compilar cualquier ejemplou otro prg, me sale el error:Unresolved error alphablend, hace referencia al fivehc-brushesy no puedo generar ningun ejemplo...Que version del verce es compatible con esta version?Probe con los make que vienen con fwh8.10 y sale ok.Salu2Francis
error alphablend
Francis,Tienes que enlazar esta librería de Borland:c:\BCC55\LIB\PSDK\MSIMG32.LIB
error alphablend
Gracias MasterPero como lo hago en verce 5.3, alguien que tenga modificado un verceque funcione con fwh8.10 por favor... <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> Salu2FrancisIquitos-Peru
error alphablend
incluyela en la libreria de terceros
error alphablend
Ok mcfoxLo pruebo y aviso ...Deberian los creadores del verce modificar estos detalles para la grancomunidad de usuarios del verce.Salu2FrancisIquitos-Peru
error alphablend
[quote="Francis":15vthfuw]Gracias Master Pero como lo hago en verce 5.3, alguien que tenga modificado un verce que funcione con fwh8.10 por favor... <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> Salu2 Francis Iquitos-Peru[/quote:15vthfuw][url=http&#58;//imageshack&#46;us:15vthfuw][img:15vthfuw]http&#58;//img98&#46;imageshack&#46;us/img98/5420/verceoh4&#46;jpg[/img:15vthfuw][/url:15vthfuw][url=http&#58;//g&#46;imageshack&#46;us/img98/verceoh4&#46;jpg/1/:15vthfuw][img:15vthfuw]http&#58;//img98&#46;imageshack&#46;us/img98/verceoh4&#46;jpg/1/w661&#46;png[/img:15vthfuw][/url:15vthfuw]
error appear with last harbour
Dear Antonio, I get this error with last harbour FiveHC32.lib(FWPNG.obj) : error LNK2019: symbole externe non résolu _png_init_io référencé dans la fonction _save_png_to_file regards Patrick Harbour Build Info --------------------------- Version: Harbour 3.2.0dev (r1403040330) Compiler: Microsoft Visual C++ 16.0.40219 (32-bit) Platform: Windows 8 6.2.9200 PCode version: 0.3 ChangeLog last entry: 2014-03-04 04:30 UTC+0100 Przemyslaw Czer czta.onet.pl) ChangeLog ID: 12a2ef2ca10f2e1ab9222a3326a62da4129671d4 Built on: Mar 4 2014 16:50:51 Build options: (C++ mode) (Clipper 5.3b) (Clipper 5.x undoc)
error appear with last harbour
Patrick Did you add png.lib to you rmake file ? Richard
error appear with last harbour
Dear Richard, Yes I have had png.lib to the rmake file Patrick
error appear with last harbour
And hbzlib.lib ?
error appear with last harbour
This png lib issue appeared after the following change. I assume the error is related to the warning. I worked around it a couple ways. First, I had a png.lib I happened to have build on 1/20 before this change. I have since just edited the png Makefile referenced here and backed out this particular change and rebuilt. I haven't seen any negative effects of this, but I don't actually use png either. Robb 2014-01-24 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/pnglconf.h * src/3rd/png/png.dif * updated libpng 1.6.1 -> 1.6.8 ; modifications below taken from Viktor branch Warning: some of them may cause problems with 3-rd party code which needs fully functional libpng. * disabled PNG_CONSOLE_IO_SUPPORTED build option. (MSVS 2013 doesn't support 'stderr' constant) * disabled STDIO dependent parts for all platforms * disabled PNG_CONVERT_tIME_SUPPORTED to avoid using unsafe RTL calls (as shown by msvc)
error appear with last harbour
please seach in the forum a post reporting this problem, antonio put a file png.lib to replace the png.lib of harbour salu2 carlos vargas
error base\1004 and base\1005
when running the exe file i get both of these base errors. 1004 tells me there is no exported method for class NIL and 1005 tells me class NIL has no property. what can i do to fix these errors? <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
error base\1004 and base\1005
Could you supply the error log text and the section of code that is creating the error.
error base\1004 and base\1005
CODE STATIC FUNCTION LoadTick // refreshes the ticket format field and listbox of the tickent dialog box msginfo(1) msginfo(TICKDBF->(CmxKeyCount())) // returns 26 oBrw:blogiclen := {|| TICKDBF->(CmxKeyCount())} // has no property msginfo(2) *oFormatType:Refresh() oFormatType := mFormatType msginfo(3) oBrw:blogiclen := {|| 0} // has no property msginfo(4) oBrw:Refresh() // no exported method msginfo(5) oBrw:Gotop() // no exported method RETURN NIL ERROR LOG Application =========== Path and name: G:\5.00\Exe\tickbuild.exe (32 bits) Size: 2,165,248 bytes Time from start: 0 hours 0 mins 5 secs Error occurred at: 05/01/2006, 08:57:43 Error description: Error BASE/1005 Class: 'NIL' has no property: BLOGICLEN Args: [ 1] = B {|| ... } Stack Calls =========== Called from _BLOGICLEN(0) Called from LOADTICK(252) Called from TICKPATH(221) Called from MAIN(84) System ====== CPU type: GetCPU() failed! 2000 Mhz Hardware memory: 248 megs Free System resources: 90 % GDI resources: 90 % User resources: 90 % Compiler version: xHarbour build 0.99.50 Intl. (SimpLex) Windows version: 5.1, Build 2600 Service Pack 2 Windows total applications running: 0 Variables in use ================ Procedure Type Value ========================== _BLOGICLEN Param 1: B {|| ... } LOADTICK TICKPATH Local 1: C "5.00\Exe\DATA" Local 2: C "G:\5.00\Exe\Data\" Local 3: L .F. MAIN Local 1: U Linked RDDs =========== DBF DBFDBT DBFFPT DBFNTX DBFCDX SQLRDD DataBases in use ================ 1: COMPANY RddName: DBFCDX ============================== RecNo RecCount BOF EOF 6 7 .F. .F. Indexes in use TagName => COMP_CODE COMPANY Relations in use 2: WINDEF RddName: DBFCDX ============================== RecNo RecCount BOF EOF 421 4281 .F. .F. Indexes in use TagName => TEXTTYPE+SCREEN+TEXTCODE WINDDEF UPPER(DEFAULTTXT) TRANSLAT Relations in use 3: CONFIG RddName: DBFCDX ============================== RecNo RecCount BOF EOF 1 1 .F. .F. Indexes in use TagName Relations in use 4: => TICKDBF RddName: DBFCDX ============================== RecNo RecCount BOF EOF 1 47 .F. .F. Indexes in use TagName => PRNTNAME+STR(Y_CORD,3,0)+STR(X_CORDTICKDBF Relations in use Classes in use: =============== 1 HBCLASS 2 HBOBJECT 3 SQLFASTHASH 4 ERROR Memory Analysis =============== 606 Static variables Dynamic memory consume: Actual Value: 0 bytes Highest Value: 0 bytes  [/u]
error base\1004 and base\1005
Where is oBrw variable defined ? It looks as you are not providing it to that function so it is nil.
error bpainted a btnbmp
I wish insert images png and text into btnbmp but with conditions [img:dmt57jnt]https&#58;//s33&#46;postimg&#46;cc/k61vgh4i7/test&#46;png[/img:dmt57jnt] I have lday,lNumbers,lPayed I have problems because the command not work as I wish and I not understood why on command there are if function it take [b:dmt57jnt]only the second parameter[/b:dmt57jnt] sample : [b:dmt57jnt]IF(lpayed,CLR_RED,COLOR_ARANCIONE)[/b:dmt57jnt] if take the second color while [b:dmt57jnt]lpayed is true [/b:dmt57jnt]why ? [b:dmt57jnt]another sample[/b:dmt57jnt] i[b:dmt57jnt]f(lday, DrawImage( hDC, BMP_DAY , { 2, 40, 20, 20 }),)[/b:dmt57jnt] [b:dmt57jnt]lday is true[/b:dmt57jnt] but it now draw anything why ? on the picture the second images must have the number with red background and must have a small image (BMP_DAY) on the right top angle this images [b:dmt57jnt]BMP_DAY[/b:dmt57jnt] [img:dmt57jnt]https&#58;//s33&#46;postimg&#46;cc/zg1qnx033/giornaliero&#46;png[/img:dmt57jnt] [b:dmt57jnt]OMB_LIBERO[/b:dmt57jnt] [img:dmt57jnt]https&#58;//s33&#46;postimg&#46;cc/ejakg6l6n/ombrellone_verde&#46;png[/img:dmt57jnt] [b:dmt57jnt]OMB_OCCUPATO[/b:dmt57jnt] [img:dmt57jnt]https&#58;//s33&#46;postimg&#46;cc/8icvje8xr/ombrellone_Occupato&#46;png[/img:dmt57jnt] this the test [code=fw:dmt57jnt]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><br /><span style="color: #00D7D7;">#include</span><span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"constant.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> OMB_LIBERO      <span style="color: #ff0000;">".<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\o</span>mbrellone_verde.png"</span><br /><span style="color: #00D7D7;">#define</span> OMB_OCCUPATO    <span style="color: #ff0000;">".<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\o</span>mbrelloneOccupato.png"</span><br /><br /><span style="color: #00D7D7;">#define</span> BMP_DAY         <span style="color: #ff0000;">".<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\g</span>iornaliero.png"</span><br /><br /><span style="color: #00D7D7;">#define</span> COLOR_ARANCIONE nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">238</span>, <span style="color: #000000;">152</span>, <span style="color: #000000;">25</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00D7D7;">#define</span> OMB_W  <span style="color: #000000;">60</span><br /><span style="color: #00D7D7;">#define</span> OMB_H  <span style="color: #000000;">60</span><br /><br /><br /><br /><br /><br /><br /><br /><span style="color: #00C800;">Function</span> test<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span> nOmbrelloni := <span style="color: #000000;">4</span> <span style="color: #B900B9;">// Total number of Umbrellas  3</span><br />   <span style="color: #00C800;">local</span> oDlg, oFont, aBtn<span style="color: #000000;">&#91;</span> nOmbrelloni <span style="color: #000000;">&#93;</span><br /><br />   <span style="color: #00C800;">local</span>  nBottom   := <span style="color: #000000;">48.4</span><br />   <span style="color: #00C800;">local</span>  nRight    := <span style="color: #000000;">155</span><br />   <span style="color: #00C800;">local</span> nWidth :=  <span style="color: #0000ff;">Max</span><span style="color: #000000;">&#40;</span> nRight * DLG_CHARPIX_W, <span style="color: #000000;">180</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">local</span> nHeight := nBottom * DLG_CHARPIX_H<br /><br />   <span style="color: #00C800;">Local</span> cCursor:= TCursor<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span>,<span style="color: #ff0000;">'HAND'</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> aStatus:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Reserved"</span>, <span style="color: #ff0000;">"Confirmed"</span>, <span style="color: #ff0000;">"Occupied"</span>, <span style="color: #ff0000;">"Canceled"</span>, <span style="color: #ff0000;">"Empty"</span> <span style="color: #000000;">&#125;</span><br />   <span style="color: #00C800;">Local</span> nColor_Payed   :=  nRGB<span style="color: #000000;">&#40;</span> <span style="color: #000000;">238</span>, <span style="color: #000000;">152</span>, <span style="color: #000000;">25</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span> nColor_NoPayed :=  CLR_RED<br /><br /><br />   <span style="color: #00C800;">Local</span> nFila,nNumber,nRow,nCol,n<br />   <span style="color: #00C800;">Local</span> nStatus,cTypeRoom,cPosNome<br />   <span style="color: #00C800;">Local</span> lNumBers,lday,lpayed<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TAHOMA"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-14</span><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> nWidth, nHeight <span style="color: #0000ff;">PIXEL</span>;<br />   TRUEPIXEL <span style="color: #0000ff;">FONT</span> oFont<br /><br /><br />   nRow  := <span style="color: #000000;">60</span><br />   nCol  := <span style="color: #000000;">10</span><br />   nNumber:=<span style="color: #000000;">1</span><br />   nFila:=<span style="color: #000000;">1</span><br /><br /><br />   nStatus:= <span style="color: #000000;">1</span><br />   cTypeRoom :=<span style="color: #ff0000;">"O"</span><br />   cPosNome:=<span style="color: #ff0000;">""</span><br />   lNumBers:=.T.<br />   lday:=.F.<br />   lpayed :=.T.<br /><br />   <span style="color: #00C800;">for</span> n := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nOmbrelloni<br />         <span style="color: #00C800;">IF</span> n=<span style="color: #000000;">2</span>    <span style="color: #B900B9;">//only umbrella number 2</span><br />      lday:=.T.<br />      nStatus:= <span style="color: #000000;">2</span><br />      lpayed :=.F.<br /><br />    <span style="color: #00C800;">endif</span><br /><br /><br /><br /><br /><br />@ nRow, nCol <span style="color: #0000ff;">BTNBMP</span> aBtn<span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">RESOURCE</span> GiveBmp<span style="color: #000000;">&#40;</span>nStatus<span style="color: #000000;">&#41;</span> ;<br />      <span style="color: #0000ff;">SIZE</span> OMB_W,OMB_H <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />      FLAT TOP <span style="color: #0000ff;">COLOR</span> CLR_WHITE NOBORDER ;<br />      TOOLTIP cPosNome<br /><br /><br /><br />    aBtn<span style="color: #000000;">&#91;</span> n<span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Cargo</span>    := <span style="color: #000000;">&#123;</span>aStatus<span style="color: #000000;">&#91;</span>nStatus<span style="color: #000000;">&#93;</span>,n,cTypeRoom,  str<span style="color: #000000;">&#40;</span>nFila<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><br /><br /><br />        aBtn<span style="color: #000000;">&#91;</span>n<span style="color: #000000;">&#93;</span>:<span style="color: #000000;">bPainted</span> := <span style="color: #000000;">&#123;</span> | hDC, cP, oBtn |if<span style="color: #000000;">&#40;</span>lNumBers, DrawText2<span style="color: #000000;">&#40;</span>hDC, oFont:<span style="color: #000000;">hFont</span>, <span style="color: #000000;">2</span>, LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span>oBtn:<span style="color: #000000;">Cargo</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> ,<span style="color: #000000;">38</span>, <span style="color: #000000;">3</span>, <span style="color: #000000;">40</span>, <span style="color: #000000;">62</span>,CLR_WHITE, <span style="color: #00C800;">IF</span><span style="color: #000000;">&#40;</span>!lpayed,CLR_RED,COLOR_ARANCIONE<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span>,;<br />                    <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span>lday, DrawImage<span style="color: #000000;">&#40;</span> hDC, BMP_DAY , <span style="color: #000000;">&#123;</span> <span style="color: #000000;">2</span>, <span style="color: #000000;">40</span>, <span style="color: #000000;">20</span>, <span style="color: #000000;">20</span> <span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span>,<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br /><br /><br /><br />       nCol  += OMB_W<br />      <span style="color: #00C800;">If</span> nNumber == <span style="color: #000000;">20</span><br />         nNumber:=<span style="color: #000000;">1</span><br />         nRow  += OMB_H<span style="color: #000000;">+1</span><br />         nFila +=<span style="color: #000000;">1</span><br />         nCol  := <span style="color: #000000;">10</span><br />      <span style="color: #00C800;">else</span><br />         nNumber++<br />      <span style="color: #00C800;">Endif</span><br /><br /><br />    nStatus :=<span style="color: #000000;">1</span><br />    cPosNome:=<span style="color: #ff0000;">""</span><br />    lpayed   := .f.<br />    lDay:=.f.<br /><br /><br />   <span style="color: #00C800;">next</span> n<br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /> <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">Function</span> GiveBmp<span style="color: #000000;">&#40;</span>nStato<span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">Local</span>  cFileBmp<br />   <span style="color: #00C800;">Do</span> <span style="color: #00C800;">case</span><br />      <span style="color: #00C800;">case</span> nStato=<span style="color: #000000;">1</span><br />      cFileBmp:=OMB_LIBERO<br />      <span style="color: #00C800;">case</span> nStato=<span style="color: #000000;">2</span><br />      cFileBmp:=OMB_OCCUPATO<br />        <span style="color: #00C800;">Endcase</span><br /><br />  <span style="color: #00C800;">RETURN</span> cFileBmp<br /><br /><span style="color: #B900B9;">//------------------------------------------------------------------------//</span><br /> <span style="color: #00C800;">function</span> DrawImage<span style="color: #000000;">&#40;</span>hdc,cFile,arect<span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">local</span> oGraphics := Graphics<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">local</span> oImage:= GDIBmp<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span>cFile <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">Local</span> nTop:=arect<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span><br />    <span style="color: #00C800;">local</span> nLeft :=arect<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span><br />    <span style="color: #00C800;">local</span> nWidth:=arect<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span><br />    <span style="color: #00C800;">local</span> nHeight:=arect<span style="color: #000000;">&#91;</span><span style="color: #000000;">4</span><span style="color: #000000;">&#93;</span><br />    <span style="color: #B900B9;">//DrawImage( oImage, nTop, nLeft, nWidth, nHeight )</span><br />    oGraphics:<span style="color: #000000;">DrawImage</span><span style="color: #000000;">&#40;</span> oImage ,  nTop, nLeft, nWidth, nHeight <span style="color: #000000;">&#41;</span><br />    oGraphics:<span style="color: #000000;">destroy</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /><span style="color: #B900B9;">//-----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">FUNCTION</span> DrawText2<span style="color: #000000;">&#40;</span> hDC, hFont, nBkMode, cText, nTop, nLeft, nWidth, nHeight,<span style="color: #0000ff;">color</span>,color2 <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> hFontOld:= SelectObject<span style="color: #000000;">&#40;</span> hDC, hFont <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> nBkOld := SetBkMode<span style="color: #000000;">&#40;</span> hDC, nBkMode <span style="color: #000000;">&#41;</span><br />SetTextColor<span style="color: #000000;">&#40;</span> hDC, <span style="color: #0000ff;">color</span> <span style="color: #000000;">&#41;</span><br />setBkColor<span style="color: #000000;">&#40;</span> hDC, color2 <span style="color: #000000;">&#41;</span><br />DrawText<span style="color: #000000;">&#40;</span> hDC, cText, <span style="color: #000000;">&#123;</span> nTop, nLeft, nTop+nWidth, nLeft+nHeight <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />SelectObject<span style="color: #000000;">&#40;</span> hDC, hFontOld <span style="color: #000000;">&#41;</span><br />SetBkMode<span style="color: #000000;">&#40;</span> hDC, nBkOld <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">RETURN</span><span style="color: #000000;">&#40;</span> <span style="color: #00C800;">NIL</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//-----------------------------------------------------------------------------//</span><br /><br /><br /><br /> </div>[/code:dmt57jnt]
error btnget and fwh712
hi, i receive this: Error description: Error BASE/1070 Erro nos parametros: == Args: [ 1] = C [ 2] = N 0 Stack Calls =========== Called from: TGET.prg => TBTNGET:KEYDOWN(682) Called from: => TWINDOW:HANDLEEVENT(0) Called from: CONTROL.prg => TCONTROL:HANDLEEVENT(1392) Called from: TGET.prg => TBTNGET:HANDLEEVENT(486) Called from: WINDOW.prg => _FWH(3267) theres any fix? thanks
error btnget and fwh712
Norberto, What source code do you have in line 682 ? TBTNGET:KEYDOWN(682)
error btnget and fwh712
Antonio, this: if ::bKeyDown != nil if Eval( ::bKeyDown, nKey, nFlags, Self ) == 0 return 0 endif endif i comment this , and works again, but i dont know what´s affect. thanks
error btnget and fwh712
Where is teh TBtnGet Class? It is not in FWH.
error btnget and fwh712
BtnGet is an 3rd part lib , free, i compile the source. works fine until fwh712.
error btnget and fwh712
Norberto, Please modify Class TGet this way: [code:3glqtpvu] if &#58;&#58;bKeyDown != nil if ValType&#40; uVal &#58;= Eval&#40; &#58;&#58;bKeyDown, nKey, nFlags, Self &#41; &#41; == "N" &#46;and&#46; ; uVal == 0 return 0 endif endif [/code:3glqtpvu]
error btnget and fwh712
\source\btnget.prg line 128: change ::bKeyDown := { | nKey | IIF( nKey == VK_F2, ; eval( ::bAction ), "") } into ::bKeyDown := { | nKey | IIF( nKey == VK_F2, ; eval( ::bAction ), ) } Regards! Shuming Wang
error close DIALOG
When I close the DIALOG without closing the WINDOWS of an error, how to get you close to the DIALOG Program also close, or not happen the error. [code=fw:26koumds]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">"FIVEWIN.CH"</span><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">LOCAL</span> oDlg<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg                                       ;<br />      <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">10</span>, <span style="color: #000000;">30</span><br /><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span><span style="color: #000000;">&#40;</span>PortalNFe<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #B900B9;">/////////////////////////////////////////////////////////////////////////////// </span><br /><span style="color: #00C800;">FUNCTION</span> PortalNFe<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">///////////////////////////////////////////////////////////////////////////////   </span><br /><br />   <span style="color: #00C800;">Local</span> oActiveX,oWndNfe<br /><br />    <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWndNfe <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">3</span>, <span style="color: #000000;">2</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">26</span>, <span style="color: #000000;">98</span> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Portal Nacional da Nota Fiscal Eletrônica"</span> <span style="color: #B900B9;">//OF oWnd//of ofld</span><br />    <br />    oActiveX = TActiveX<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> oWndNfe, <span style="color: #ff0000;">"Shell.Explorer"</span> <span style="color: #000000;">&#41;</span><br /><br />   oWndNfe:<span style="color: #000000;">oClient</span> = oActiveX <br /><br />   oActiveX&#<span style="color: #000000;">058</span>;Do<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Navigate"</span>, <span style="color: #ff0000;">"https://www.nfe.fazenda.gov.br/portal/FormularioDePesquisa.aspx?tipoconsulta=completa"</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWndNfe<br />   <br />   EndDialog<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />       <br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">nil</span><br /><span style="color: #B900B9;">/////////////////////////////////////////////////////////////////////////////// </span><br /> </div>[/code:26koumds]
error close DIALOG
[code=fw:e67ohb7a]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWndNfe<br />   <br />EndDialog<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:e67ohb7a] Remember that windows are non-modal so the EndDialog is called as soon as the window is activated, which is not what you wanted. Try this: ACTIVATE WINDOW oWndNfe valid EndDialog() This way EndDialog() is only called when the user closes the window. Regards, James
error compilacion res
estimados, me sale este error al enlazar con verce mi recurso... Duplicate resource: Type 10 (RCDATA), ID DVCLAL; File TMP9.$$$ resource kept; file C:\NEWPRG\RC\GESTION.RES resource discarded. uso workshop 4.5, fhw812, xharbour 812 este es el resultado.... Compilado y Enlazado de: [C:\NewPrg\gestion.Exe] Ejecución No. 6 Ejecutada a las: 16:41:21 ============================================================ xHarbour Compiler build 1.1.0 (SimpLex) (Rev. 6195) Copyright 1999-2008, <!-- m --><a class="postlink" href="http://www.xharbour.org">http://www.xharbour.org</a><!-- m --> <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --> Compiling 'C:\NewPrg\PRG\gestion.prg'... Lines 326, Functions/Procedures 4 Generating C source output to 'C:\NewPrg\OBJ\gestion.hrb'... Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland C:\NewPrg\OBJ\gestion.hrb: Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Duplicate resource: Type 10 (RCDATA), ID DVCLAL; File TMP9.$$$ resource kept; file C:\NEWPRG\RC\GESTION.RES resource discarded. Fin del proceso. Fin del proceso. MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Application Build Success !!! ============================================================ VERCE v4.3 -> Ver Resultados de Compilación y Enlazado v4.3 Juan Carlos Salinas Ojeda <!-- e --><a href="mailto:jcso@hotmail.com">jcso@hotmail.com</a><!-- e -->, <!-- e --><a href="mailto:jcso@esm.com.mx">jcso@esm.com.mx</a><!-- e --> Minatitlán, Veracruz. MEXICO Y Solo Veracruz es bello !!! FiveWin for Harbour!!
error compilacion res
Juan Carlos, Te indica que hay un recurso tipo RCDATA duplicado en tu fichero RES. Sálvalo como RC y busca por RCDATA ó por DVCLAL en él.
error compilando con fw14.09
Estoy compilando tutor01.prg y obtengo este error [code=fw:1nquvcjf]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_GT_GUI_DEFAULT'</span> referenced <span style="color: #0000ff;">from</span> C:\FWH1409\LIB\FIVEH.LIB|ERRSYSW<br /> </div>[/code:1nquvcjf] Que me falta definir en el bat ??? Muchas gracias
error compilando con fw14.09
lib\psdk\msimg32.lib
error compilando con fw14.09
Completo: [code=fw:3bqq9wef]<div class="fw" id="{CB}" style="font-family: monospace;"><br />C:\FWH1306\lib\FiveHX.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\FWH1306\lib\FiveHC.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\hbzip.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\zlib.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\rtl.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\vm.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\gtgui.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\lang.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\macro.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\rdd.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\dbfntx.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\dbfcdx.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\debug.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\common.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\tip.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\tipssl.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\pp.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\lib\dbffpt.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />c:\XHB280714\lib\hbsix.lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\codepage.Lib &nbsp; &nbsp; &nbsp; &nbsp;+<br />c:\XHB280714\lib\libmisc.lib &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\lib\PcRepos.Lib &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\XHB280714\Lib\ct.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\XHB280714\Lib\png.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\Bcc582\lib\cw32.Lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />c:\bcc582\lib\import32.lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />c:\bcc582\lib\uuid.lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />c:\bcc582\lib\ws2_32.lib &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; +<br />C:\Bcc582\lib\psdk\msimg32.Lib &nbsp; &nbsp; &nbsp; +<br />C:\Bcc582\lib\psdk\odbc32.Lib &nbsp; &nbsp; &nbsp; &nbsp;+<br />C:\Bcc582\lib\psdk\rasapi32.Lib &nbsp; &nbsp; &nbsp;+<br />C:\Bcc582\lib\psdk\nddeapi.Lib &nbsp; &nbsp; &nbsp; +<br />C:\Bcc582\lib\psdk\psapi.Lib &nbsp; &nbsp; &nbsp; &nbsp; +<br />c:\bcc582\lib\psdk\gdiplus.lib &nbsp; &nbsp; &nbsp; +<br />C:\Bcc582\lib\psdk\iphlpapi.Lib &nbsp; &nbsp; &nbsp;+<br />C:\Bcc582\lib\import32.Lib<br />&nbsp;</div>[/code:3bqq9wef]  Salu2
error compilando con fw14.09
Gracias por tu respuesta, estoy usando el build.bat que viene en samples. Las librerías que me sugeriste ya están en ese bat. sin embargo me produce este error. Intenté con buildx.bat pero me da este error [code=fw:3phzi6ku]<div class="fw" id="{CB}" style="font-family: monospace;"><br />FiveWin.ch<span style="color: #000000;">&#40;</span><span style="color: #000000;">1855</span><span style="color: #000000;">&#41;</span> Error F0023 &nbsp;Unknown result marker <x> in #directive<br />&nbsp;</div>[/code:3phzi6ku] Alguna idea ?? Muchas gracias
error compilando con fw14.09
Solucionado, adicioné GTGUI.LIB y funcionó con build.bat. Lo que me extraña es el error con el buildx.bat. Si alguien me hecha luz sobre este tema. Muchas gracias
error compilando con fw14.09
Que tien en esta linea de fivewin.ch ? FiveWin.ch(1855)
error compilando con fw14.09
El maestro Antonio erra mucho!!! jejejejejejejejejejejeje. Broma. [code=fw:3fy3lsam]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">if</span> A%<span style="color: #000000;">1</span> == A GOTO :<span style="color: #000000;">SINTAX</span><br /><span style="color: #00C800;">if</span> NOT EXIST %<span style="color: #000000;">1</span>.prg GOTO :<span style="color: #000000;">NOEXIST</span><br /> <br />ECHO Compiling...<br /> <br /><span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%FWDIR%"</span> == <span style="color: #ff0000;">""</span> set FWDIR=.\..\<br /><span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%XHDIR%"</span> == <span style="color: #ff0000;">""</span> set XHDIR=c:\xhb280714<br />REM <span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%XHDIR%"</span> == <span style="color: #ff0000;">""</span> set XHDIR=c:\xhb100713<br />REM <span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%XHDIR%"</span> == <span style="color: #ff0000;">""</span> set XHDIR=c:\XHB<br />rem <span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%2"</span> == <span style="color: #ff0000;">"/b"</span> set GT=gtwin<br />rem <span style="color: #00C800;">if</span> not <span style="color: #ff0000;">"%2"</span> == <span style="color: #ff0000;">"/b"</span> set GT=gtgui<br />set GT=gtgui<br /> <br />set hdir=%XHDIR%<br />set hdirl=%hdir%\lib<br />set bcdir=c:\bcc582<br />set fwh=%FWDIR%<br /> <br />%hdir%\bin\harbour %<span style="color: #000000;">1</span> /m/n /i%fwh%\include;%hdir%\include /w0 /p %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> > comp.log<br />REM %hdir%\bin\harbour %<span style="color: #000000;">1</span> /m/n /i..\include;%hdir%\include /w0 /p %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> > clip.log<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO COMPILEERRORS<br />@type comp.log<br /> <br />echo -O2 -e%<span style="color: #000000;">1</span>.exe -I%hdir%\include -I%bcdir%\include %<span style="color: #000000;">1</span>.c > b32.bc<br />%bcdir%\bin\bcc32 -M -c -v @b32.bc<br />:<span style="color: #000000;">ENDCOMPILE</span><br /> <br /><span style="color: #00C800;">IF</span> EXIST %<span style="color: #000000;">1</span>.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %<span style="color: #000000;">1</span><br /> <br />echo %bcdir%\lib\c0w32.obj + > b32.bc<br />echo %<span style="color: #000000;">1</span>.obj, + >> b32.bc<br />echo %<span style="color: #000000;">1</span>.exe, + >> b32.bc<br />echo %<span style="color: #000000;">1</span>.map, + >> b32.bc<br />echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc<br />echo %hdirl%\rtl.lib + >> b32.bc<br />echo %hdirl%\vm.lib + >> b32.bc<br />echo %hdirl%\%GT%.lib + >> b32.bc<br />echo %hdirl%\lang.lib + >> b32.bc<br />echo %hdirl%\codepage.lib + >> b32.bc<br />echo %hdirl%\macro.lib + >> b32.bc<br />echo %hdirl%\rdd.lib + >> b32.bc<br />echo %hdirl%\dbfntx.lib + >> b32.bc<br />echo %hdirl%\dbfcdx.lib + >> b32.bc<br />echo %hdirl%\dbffpt.lib + >> b32.bc<br />echo %hdirl%\hbsix.lib + >> b32.bc<br />echo %hdirl%\debug.lib + >> b32.bc<br />echo %hdirl%\common.lib + >> b32.bc<br />echo %hdirl%\pp.lib + >> b32.bc<br />echo %hdirl%\pcrepos.lib + >> b32.bc<br />echo %hdirl%\ct.lib + >> b32.bc<br />echo %hdirl%\zlib.lib + >> b32.bc<br />echo %hdirl%\hbzip.lib + >> b32.bc<br />echo %hdirl%\libmisc.lib + >> b32.bc<br />echo %hdirl%\tip.lib + >> b32.bc<br />echo %hdirl%\png.lib + >> b32.bc<br />rem echo %hdirl%\hbhpdf.lib + >> b32.bc<br />rem echo %hdirl%\libharu.lib + >> b32.bc<br /> <br />rem Uncomment these two lines <span style="color: #0000ff;">to</span> use Advantage RDD<br />rem echo %hdir%\lib\rddads.lib + >> b32.bc<br />rem echo %hdir%\lib\Ace32.lib + >> b32.bc<br /> <br />echo %bcdir%\lib\cw32.lib + >> b32.bc<br />echo %bcdir%\lib\import32.lib + >> b32.bc<br />echo %bcdir%\lib\uuid.lib + >> b32.bc<br />echo %bcdir%\lib\ws2_32.lib + >> b32.bc<br /> <br />echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc<br />echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc<br />echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc<br />echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc<br />echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc<br />echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc<br />echo %bcdir%\lib\psdk\iphlpapi.lib, >> b32.bc<br /> <br /><span style="color: #00C800;">IF</span> EXIST %<span style="color: #000000;">1</span>.res echo %<span style="color: #000000;">1</span>.res >> b32.bc<br /> <br />rem uncomment this line <span style="color: #0000ff;">to</span> use the debugger and comment the following one<br /><span style="color: #00C800;">if</span> %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO LINKERROR<br /><span style="color: #00C800;">if</span> %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO LINKERROR<br />ECHO * Application successfully built *<br /> <br />rem nuevo by Antonio Linares - <span style="color: #000000;">16</span>/<span style="color: #000000;">05</span>/<span style="color: #000000;">2013</span><br />rem mshta vbscript&#<span style="color: #000000;">058</span>;CreateObject<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"SAPI.SpVoice"</span><span style="color: #000000;">&#41;</span>.Speak<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Application successfully built"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#40;</span><span style="color: #0000ff;">Window</span>.close<span style="color: #000000;">&#41;</span><br />mshta vbscript&#<span style="color: #000000;">058</span>;CreateObject<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"SAPI.SpVoice"</span><span style="color: #000000;">&#41;</span>.Speak<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Programa construido com sucesso"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#40;</span><span style="color: #0000ff;">Window</span>.close<span style="color: #000000;">&#41;</span><br /> <br />%<span style="color: #000000;">1</span><br />GOTO EXIT<br />ECHO<br /> <br />rem delete temporary files<br />@del %<span style="color: #000000;">1</span>.c<br /> <br />:<span style="color: #000000;">COMPILEERRORS</span><br />@type comp.log<br />ECHO * Compile errors *<br />GOTO EXIT<br /> <br />:<span style="color: #000000;">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /> <br />:<span style="color: #000000;">SINTAX</span><br />ECHO    SYNTAX: <span style="color: #000000;">Build</span> <span style="color: #000000;">&#91;</span>Program<span style="color: #000000;">&#93;</span>     <span style="color: #000000;">&#123;</span>-- No especifiques la extensi¢n PRG<br />ECHO                                <span style="color: #000000;">&#123;</span>-- Don<span style="color: #ff0000;">'t specify .PRG extension<br />GOTO EXIT<br /> <br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /> <br />:EXIT<br /></span></div>[/code:3fy3lsam] 
error compilando con xverse
Amigos... me esta dando el siguiente error compilando con xverse [img:1fmdmkbq]https&#58;//dl&#46;dropboxusercontent&#46;com/u/102110243/Captura%20de%20pantalla%202014-02-19%2018&#46;13&#46;57&#46;png[/img:1fmdmkbq]
error compilando con xverse
Solucionado.... tener cuidad dentro de "Propiedades del Proyecto", en los directorios "NO" debe tener el barra "\" al final.... gracias david
error compile fwh109 (LIB) **SOLVED**
**SOLVEDHI, since fwh108 when i try compile lib fivehx, i receive this warning: Warning: library was too large for page size, rebuilt with page size 64 Warning: results are safe in file 'libtmp0s.l20' this ocour only some modules (prg), like xbrowse, valblank, etc.. can on help me? (fwh109 / xharbour cvs, bcc 582, windows 7 64 ) thanks solution : i change /p32 in tlib commad with /p64 , this is right? can affect my appl in 32 bits OS?? thanks
error compile fwh109 (LIB) **SOLVED**
Norberto, It is fine <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
error compiling 'TESTZIP.PRG'
Dear Mr. Antonio, Im using FWH v10.5 and latest xHarbour for BCC582 I tried to compile testzip.prg with these errors: [img:2dfp6my7]http&#58;//i208&#46;photobucket&#46;com/albums/bb82/fraxzi/testzip&#46;png[/img:2dfp6my7] I already included hbzip.lib but still cannot compile. I need Zip/Unzip function in my current project. Regards, Frances
error compiling 'TESTZIP.PRG'
Frances, samples\TestZip.prg was just for FW 16 bits. We have to update it for FWH 32 and FWH 64. Here in the forums there are several examples for 32 bits. Lets find them and we point them here.
error compiling 'TESTZIP.PRG'
Frances... is spanish, but easy to understand <!-- m --><a class="postlink" href="http://bielsys.blogspot.com/">http://bielsys.blogspot.com/</a><!-- m -->
error compiling 'TESTZIP.PRG'
Dear Mr.Frances, Here is a function to extract the contents of a zip file [code=fw:1cobtv7n]<div class="fw" id="{CB}" style="font-family: monospace;">*------------------------------------*<br /><span style="color: #00C800;">Function</span> ExtractZip<span style="color: #000000;">&#40;</span>cDriveLetter<span style="color: #000000;">&#41;</span><br />*------------------------------------*<br /><span style="color: #00C800;">Local</span> aFiles,lOk,cFolderName<br /><span style="color: #B900B9;">// Zip and Unzip functions, should include the libs named HbZip & zlib available in \xHarbour\lib</span><br />cFolderName:=cDriveLetter+<span style="color: #ff0000;">"<span style="color: #000000;">\"</span>  // i.e c: or d:<br /><br />// Creates an Array containing the list of files in the Test.Zip with Path<br />aFiles := hb_GetFilesInZip("</span>Test<span style="color: #ff0000;">")   <br /><br />// The 3rd Parameter should be .T. if you need to extract contents of zip file as per Path<br />lOk := hb_unzipfile("</span>Test<span style="color: #ff0000;">",,.T.,,cFolderName,aFiles,NIL)<br />Return lOk</span></div>[/code:1cobtv7n] Regards Anser
error compiling 'TESTZIP.PRG'
Dear Mr. Antonio, Mr. Daniel and Mr. Anser, Than you for the prompt reply. I need to zip a file before sating it to a blob field.. then unzip if user needs to read it and open corresponding app.. say "word.doc" -> compress to zip -> save as blob.. then if user wants to open it, blob to word.zip-> unzip word.zip -> open word.doc Does xharbour has this function? I found hb_compress() for string only. Best regards gentlemen, Frances
error compiling 2
Software used : Clipper 5.3c, Blinker 4, Fw 7.1, Windows 98 When compiling this error occur : constant.ch (61) fatal c3048 preprocessor table overflow How can l fix it many tanks I put #define clipper501 at first and l try to compile tget.prg (class). It give me a lots of error c2001 syntax error. Like the name of method or ":" many tanks
error compiling 2
Please add this line in your PRG before #include "FiveWin.ch": #define CLIPPER501 #include "FiveWin.ch"
error compiling 2
I try it with #define clipper501 and it makes many c2001 error syntax error
error compiling 2
Richard, If you review FiveWin.ch then you will see there are several #include ... inside it, and some of them may be removed if you don't use them. Usually a #define CLIPPER501 is enough, but it seems as you are using some of them, thats why you get the errors. Another solution is to compile using Clipper 5.2 as it has a larger preprocessor capability. And later on you link with 5.3 libraries. Its fine.
error compiling 2
With fw 2.1 l can compile tget, tcbrowse, windows and l never have those problems. When l compile them l change nothing of the prg.
error compiling 2
Richard, You don't have to modify your PRGs, just comment out some #includes that you may not be using from inside FiveWin.ch FiveWin has grown and thats why Clipper preprocessor capability sometimes is not enough. Clipper 5.2 has more preprocessor capability than Clipper 5.3 Also, if you are using Clipper rmake.exe, it consumes memory that its not available for Clipper. We recommend using Borland maker.exe instead of rmake.exe as it frees all MsDos memory before calling Clipper.exe
error compiling tcbfunc.c with VC++ express 2010
Compiling tcbfunc.c with a 2.1rc1 harbour and hbmk2 I get the errors below. I tried with cl alone using the ones in buildm.bat it doesn't work also. I need to do a small local change. What are the right parameters to use? best regards, Lorenzo Fiorini c:\dvl\fwh\include\ClipApi.h(463) : warning C4391: 'WORD strlen(LPSTR)' : incorrect return type for intrinsic function, expected 'unsigned int' c:\dvl\fwh\include\ClipApi.h(464) : warning C4391: 'void strcpy(LPBYTE,LPBYTE)' : incorrect return type for intrinsic function, expected 'char' c:\dvl\fwh\include\ClipApi.h(511) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int tcbfuncs.c(21) : warning C4131: 'HB_FUNC' : uses old-style declarator tcbfuncs.c(21) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int tcbfuncs.c(22) : warning C4013: 'hb_parnl' undefined; assuming extern returning int tcbfuncs.c(24) : warning C4013: 'hb_parni' undefined; assuming extern returning int tcbfuncs.c(27) : warning C4013: 'hb_parc' undefined; assuming extern returning int tcbfuncs.c(28) : warning C4013: 'hb_parclen' undefined; assuming extern returning int tcbfuncs.c(42) : warning C4244: 'initializing' : conversion from 'int' to 'WORD', possible loss of data tcbfuncs.c(182) : warning C4013: 'MoveTo' undefined; assuming extern returning int tcbfuncs.c(215) : warning C4100: 'TCDRAWCELL' : unreferenced formal parameter tcbfuncs.c(41) : warning C4101: 'LineCount' : unreferenced local variable tcbfuncs.c(41) : warning C4101: 'HeaderHeight' : unreferenced local variable tcbfuncs.c(224) : warning C4131: 'HB_FUNC' : uses old-style declarator tcbfuncs.c(224) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int tcbfuncs.c(224) : error C2084: function 'int HB_FUNC()' already has a body tcbfuncs.c(17) : see previous definition of 'HB_FUNC' tcbfuncs.c(288) : warning C4244: '=' : conversion from 'LONG' to 'WORD', possible loss of data tcbfuncs.c(300) : warning C4131: 'HB_FUNC' : uses old-style declarator tcbfuncs.c(300) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int tcbfuncs.c(301) : warning C4013: 'hb_retni' undefined; assuming extern returning int tcbfuncs.c(312) : warning C4131: 'HB_FUNC' : uses old-style declarator tcbfuncs.c(312) : warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int tcbfuncs.c(314) : warning C4244: 'initializing' : conversion from 'int' to 'WORD', possible loss of data tcbfuncs.c(315) : warning C4244: 'initializing' : conversion from 'int' to 'WORD', possible loss of data tcbfuncs.c(316) : warning C4244: 'initializing' : conversion from 'int' to 'WORD', possible loss of data tcbfuncs.c(329) : warning C4244: '=' : conversion from 'LONG' to 'WORD', possible loss of data tcbfuncs.c(356) : warning C4013: 'hb_reta' undefined; assuming extern returning int tcbfuncs.c(362) : warning C4013: 'hb_storvni' undefined; assuming extern returning int
error compiling tcbfunc.c with VC++ express 2010
It seems enough to add -D__HARBOUR__. Am I correct? best regards, Lorenzo Fiorini
error compiling wbrowse (hernan) with fwh 9.08
I must compile an old application made with wbrowse ( hernan) and when I compile with the nw fwh it make these errors [code=fw:tnz42a8g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />Progetto: <span style="color: #000000;">xWbrowse</span>, Ambiente: <span style="color: #000000;">xFiveWin</span>:<br /><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Harbour</span>.Exe SOURCE\WBROWSE.PRG &nbsp;/m /n /es2 /iC:\Work\FWH\INCLUDE /ic:\work\xHarbour\Include /iinclude;c:\work\fwh\include;c:\work\xHarbour\include /d__HARBOUR__ /dHB_API_MACROS /dHB_FM_STATISTICS_OFF /oObj\WBROWSE.c<br />xHarbour Compiler build <span style="color: #000000;">1.2</span><span style="color: #000000;">.1</span> <span style="color: #000000;">&#40;</span>SimpLex<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span>Rev. <span style="color: #000000;">6406</span><span style="color: #000000;">&#41;</span><br />Copyright <span style="color: #000000;">1999</span><span style="color: #000000;">-2009</span>, http:<span style="color: #B900B9;">//www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --></span><br />Compiling <span style="color: #ff0000;">'SOURCE<span style="color: #000000;">\W</span>BROWSE.PRG'</span>...<br />Lines <span style="color: #000000;">4092</span>, Functions/Procedures <span style="color: #000000;">72</span><br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'Obj<span style="color: #000000;">\W</span>BROWSE.c'</span>...<br />Done.<br /><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -O2 &nbsp;-tW -v- -X -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\Work\FWH\INCLUDE -Ic:\work\BCC55\Include;c:\work\xHarbour\Include &nbsp;-nObj Obj\WBROWSE.c<br />Borland C++ <span style="color: #000000;">5.5</span><span style="color: #000000;">.1</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2000</span> Borland<br />Obj\WBROWSE.c:<br /><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Bcc32</span>.Exe -M -c -O2 &nbsp;-tW -v- -X -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\Work\FWH\INCLUDE -Ic:\work\BCC55\Include;c:\work\xHarbour\Include &nbsp;-nObj SOURCE\WBRWLINE.C<br />Borland C++ <span style="color: #000000;">5.5</span><span style="color: #000000;">.1</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2000</span> Borland<br />SOURCE\WBRWLINE.C:<br /><span style="color: #000000;">Warning</span> W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">669</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWSELBOX<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">669</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWSELBOX<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">752</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">752</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">764</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">764</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">812</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">812</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">814</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">817</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">818</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">823</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">824</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pAtext'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">824</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pAsizes'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">824</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pAJustify'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">824</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pTextColor'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">824</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pBkColor'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">824</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pFont'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">835</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_reta'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWLINE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">867</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_reta'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_AWBRWROWDIM<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">969</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_reta'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWRECT<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1005</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">1005</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1006</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">1006</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1007</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">1007</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1025</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">1025</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1034</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">1034</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1043</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8069 SOURCE\WBRWLINE.C <span style="color: #000000;">1043</span>: <span style="color: #000000;">Nonportable</span> pointer conversion in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1173</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1174</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1178</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_param'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">1179</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pTextColor'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">1179</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pBkColor'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Error E2342 SOURCE\WBRWLINE.C <span style="color: #000000;">1179</span>: <span style="color: #000000;">Type</span> mismatch in parameter <span style="color: #ff0000;">'pFont'</span> <span style="color: #000000;">&#40;</span>wanted <span style="color: #ff0000;">'_HB_ITEM *'</span>, got <span style="color: #ff0000;">'int'</span><span style="color: #000000;">&#41;</span> in <span style="color: #00C800;">function</span> HB_FUN_WBRWPANE<br />Warning W8065 SOURCE\WBRWLINE.C <span style="color: #000000;">1653</span>: <span style="color: #000000;">Call</span> <span style="color: #0000ff;">to</span> <span style="color: #00C800;">function</span> <span style="color: #ff0000;">'_reta'</span> with no prototype in <span style="color: #00C800;">function</span> HB_FUN_FWDISPBEGIN<br />*** <span style="color: #000000;">9</span> errors in Compile ***<br />&nbsp;</div>[/code:tnz42a8g]
error compiling wbrowse (hernan) with fwh 9.08
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=16584&start=0&hilit=hernan">viewtopic.php?f=3&t=16584&start=0&hilit=hernan</a><!-- l -->
error compiling wbrowse (hernan) with fwh 9.08
thanks I resolve
error con IE 9
Hola, Al descargar de internet un programa hecho con FWH y Harbour con Explorer 9.0 salta este mensaje: [b:1f5ubmwu]xxx.exe no se descarga habitualmente y podría dañar su equipo[/b:1f5ubmwu] [img:1f5ubmwu]http&#58;//ieblog&#46;members&#46;winisp&#46;net/images/ryancol_Unknown-notificationbar&#46;PNG[/img:1f5ubmwu] ¿Sabéis como se hace para que no salte este aviso?. Muchas gracias <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
error con IE 9
Hola, ¿A nadie le pasa?. Por ejemplo, probad con <!-- m --><a class="postlink" href="http://www.apolosoftware.com/instalacion/GstInstalacion.exe">http://www.apolosoftware.com/instalacio ... lacion.exe</a><!-- m -->
error con IE 9
Intenta con el Google Chrome.
error con IE 9
Tiene que ser con IE9, que es el navegador más popular. ¿Has probado a descargar tus aplicaciones con IE9?. Saludos <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
error con IE 9
[quote="mgsoft":1c9fnbu0]Tiene que ser con IE9, que es el navegador más popular. ¿Has probado a descargar tus aplicaciones con IE9?. Saludos <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->[/quote:1c9fnbu0] No. Pués és mui lento. ya el google chrome és mui rápido y mucho mejor. Saludos.
error con IE 9
Opino lo mismo que Joao. Saludos, Adhemar
error con IE 9
Si nuestros clientes se descargan el demo via Internet y usan IE 9, salta ese aviso. Y, lógicamente, no se puede decir, cámbiese de Explorador!!.
error con IE 9
Aqui se explica como desactivar esos avisos: [url:niagfpjd]http&#58;//www&#46;sevenforums&#46;com/tutorials/1406-internet-explorer-smartscreen-filter-turn-off&#46;html[/url:niagfpjd]
error con IE 9
Muchas gracias, pero el tema no es desactivarlo, sino que no salga el aviso. Un usuario final que quiere ver un demo del programa no va a desactivar eso, simplemente NO lo descargará y listo. Eso es lo que hay que tratar de evitar.
error con IE 9
No tengo certezca se és esto: <!-- m --><a class="postlink" href="http://www.baboo.com.br/conteudo/modelos/Cancele-a-mensagem-de-Editor-Desconhecido-no-XP_a34323_z0.aspx">http://www.baboo.com.br/conteudo/modelo ... 23_z0.aspx</a><!-- m --> Mira y comenta. Saludos.
error con IE 9
mgsoft, si quieres utilizar software de microsoft tienes que atenerte a sus reglas. El software se debe instalar como ellos dicen, via un msi o msu, y tienes que registrarte como proveedor de software con microsoft para que te otorgue las credenciales necesarias para que el instalador de windows te reconozca como tal. Esa es la forma de instalar un programa que no tiene el problema que tu dices, y es por cierto bastante costosa. Otra sería explicarle al potencial cliente que ese mensaje podría aparecerle si usa el internet explorer.
error con IE 9
mgsoft Has intentado comprimiendo el .EXE a .ZIP o .RAR Luego el usuario que lo descomprima. Saludos, Adhemar
error con Touch screen
Hola a Todos: Uso botones en una aplicacion de touch screen pero en PCs nuevas (Win 8 en adelante y RDPs en android) por cada click izquierdo en los botones se dispara doble, alguién sabe que ocasiona esto. FW 14.12 32 bits + Harbour. Gracias anticipadas y saludos cordiales Fco Gamboa