topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
error.log | Yes, of course.
EMG |
error.log is presenting fwhx 13.07 | Current version: 13:08 3R
error.log is presenting: 13:07
Application
===========
Path and name: C:\pdv.exe (32 bits)
Size: ********* bytes
Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6406)
FiveWin Version: FWHX 13.07
Windows version: 5.1, Build 2600 Service Pack 3
Time from start: 0 hours 0 mins 17 secs
Error occurred at: 27/09/13, 16:26:37
Error description: Error BASE/1004 Class: 'NIL' has no exported method: NLASTKEY
Args:
[ 1] = U
Stack Calls
=========== |
error.log is presenting fwhx 13.07 | SGS,
Already updated, thanks for the reminder <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
The problem with this prg is that if we don't modify it and then we don't compile it then the version label remains unchanged. |
error.log is presenting fwhx 13.07 | Hello,
I think you mean the value of FWVERSION?
It's fine here. I got the answer "FWHX 13.08" |
error.log is presenting fwhx 13.07 | Michel,
The problem is that such define is used from the errorsysw.prg, so if we don't recompile this PRG for a new FWH build, then the label remains unchanged and an older FWH version shows (the used when it got compiled last time)
How to solve this ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
error.log is presenting fwhx 13.07 | <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
error.log is presenting fwhx 13.07 | Antonio,
[quote="Antonio Linares":360vln5p]The problem is that such define is used from the errorsysw.prg, so if we don't recompile this PRG for a new FWH build, then the label remains unchanged and an older FWH version shows (the used when it got compiled last time)
How to solve this ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:360vln5p]
You should recompile [b:360vln5p]all[/b:360vln5p] source code when make a new FWH build for distribution! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
error.log is presenting fwhx 13.07 | Enrico,
The make file will just recompile what has changed. Erasing the whole lib and rebuilding it is much slower than just rebuilding what has changed. Whats the meaning to recompile something that has not changed ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
error.log is presenting fwhx 13.07 | Antonio,
[quote="Antonio Linares":3w0smci4]Enrico,
The make file will just recompile what has changed. Erasing the whole lib and rebuilding it is much slower than just rebuilding what has changed. Whats the meaning to recompile something that has not changed ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:3w0smci4]
The meaning is to avoid problems. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Anyway, you don't have to recompile all the modules all the time. Only when you're making the final build for distribution. Al least, that's what I always do for my applications.
EMG |
error.log is presenting fwhx 13.07 | Make the #define part of the same prg that returns the version number.
//------ fwVersion.prg ----------
#define FWVERSION 13.08 //anytime you change this line, this .prg wil recompile.
FUNCTION FwVersion()
RETURN FWVERSION |
error.log not writable | [b:1zzmyhdm]I found, that in VISTA the error.log are not writable, if the programm runs in Program Files folder and the user are not administrator! [/b:1zzmyhdm]This error.log should in this cases writing to another directory!? Also should to every programm, that uses VISTA, included a modified manifest!
MfG
Günther |
error.log not writable | [quote="byte-one":1f0es5s9][b:1f0es5s9]I found, that in VISTA the error.log are not writable, if the programm runs in Program Files folder and the user are not administrator! [/b:1f0es5s9]This error.log should in this cases writing to another directory!?[/quote:1f0es5s9]
Try using the following command:
SET ERRORLOG TO <cLogFile> [ADDITIVE]
EMG |
error.log not writable | Hello EMG, your tip
Try using the following command:
SET ERRORLOG TO <cLogFile> [ADDITIVE]
is not practicable in Harbour!
I show to source and i see that the file for errorlog is hard-coded. Mr. Linares, for VISTA i cannot write this errorlog to Program Files folder. Please allow also the command SET ERRORLOG TO <cLogFile> [ADDITIVE] !
MfG
Günther |
error.log not writable | My error log file writes just fine in Vista ... |
error.log not writable | [quote="byte-one":3rujbv94]Hello EMG, your tip
Try using the following command:
SET ERRORLOG TO <cLogFile> [ADDITIVE]
is not practicable in Harbour![/quote:3rujbv94]
Yes, it works with xHarbour.
EMG |
error.log not writable | Tim,
Vista "Pro" does not allow to write on the root disk ("c"), i guess it is the same with program files
Vista Home is ok , no problem,
Richard |
error.log not writable | It must be setup. I use Vista Ultimate. I never use Home versions.
When programming, I often will have error files pop up.
Tim |
error.log not writable | Günther
As a workaround, please modify the errorsys (source\function\errsysw.prg) source code and hardcode there the file path that you want |
error.log not writable | Günther,
in Vista it is not allowed to normal users to write in the "program files" directory and its subfolders. It´also not possible to have the dbf´s in the program dir. I would put the data with write acess in the users or all users directory. There you can also write the errorlog, see Enrico´s answer.
If I remember right, there is a new manifest for Vista, but the old one for XP works fine without problems. |
error.log not writable | There is an "order" from Microsoft, all executable programs should be in the directory Program Files but NO!! data. The errorlog writes automatically to the directory from the EXE and this is not allowed.
Also in VISTA it is required, to use an anhanced manifest. Add these to your manifest:
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker|highestAvailable|requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
MfG
Günther |
error.log not writable | Günther,
It is not true that the error.log is written in the directory of the EXE-file.
My application runs on the local disk and the data are on the networkdisk. The directory of the data is the current disk and the current directory. It is to this directory that the error.log is written.
With a little enhancement to the errsysw.prg, the directory where the error.log will be written, can be changed quite easily. |
error: OLEUNINITIALIZEOLEGETRESULTOLEISOBJECT | saludos al foro.
he intentado agragar varias librerias a mi aplicacion sin resultados
me marca errores tales como:
Enlazando servicio.exe...
Error: Unresolved external '_HB_FUN_OLEUNINITIALIZE' referenced from C:\PRGS\FWH\LIB\FIVEHX.LIB|TCOMOBJ
Error: Unresolved external '_HB_FUN_OLEGETRESULT' referenced from C:\PRGS\FWH\LIB\FIVEHX.LIB|TCOMOBJ
Error: Unresolved external '_HB_FUN_OLEISOBJECT' referenced from C:\PRGS\FWH\LIB\FIVEHX.LIB|TCOMOBJ
Error: Unable to perform link
0 Files, 0 Warnings, 4 Errors
Tiempo de compilación: 0.00s Tiempo de enlazado: 1.26s Tiempo total: 1.41s
porfavor alguna sugerencia con caracter de urgente. |
error: OLEUNINITIALIZEOLEGETRESULTOLEISOBJECT | Noe,
Estas intentando usar la clase TComObject, que gracias a nuevas funcionalidades de Harbour, ya no hace falta.
Que objeto OLE estas intentando usar ? Puedes mostrarnos la sección de tu PRG en donde lo usas ? |
error: OLEUNINITIALIZEOLEGETRESULTOLEISOBJECT | Antonio.
Precisamente el asunto es que no uso nada de "ole", entonces creo que el detalle esta en alguna libreria
que no debo usar, o una que dependa de otra.
De hecho tome todas las libs que bienen en el buildx.bat de \fwh\samples y aun asi no soluciono nada.
compilo el programa: comobj.prg
buildx comobj
y me marca exactamente los mismos 3 errores que he expuesto. |
error: OLEUNINITIALIZEOLEGETRESULTOLEISOBJECT | Noé, la idea es que TComObj ya no se usa para nada, es mas, antonio deberia eliminarla de las lib de fwh, en el foro no hay un solo post
que demuestre que alguien lo esta usando.
Si muestras que estas intentando hacer, podriamos asistirte en el uso de objetos com de la forma simple
oCom := CreateObject( cComIdent )
...
...
...
salu2
carlos vargas |
error: OLEUNINITIALIZEOLEGETRESULTOLEISOBJECT | [code=fw:3m44hvgb]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// testing FiveWin new Class TComObject to manage OLE objects</span><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;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oWord := TComObject<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Word.Application"</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> oDocuments, oDoc<br /><br /> ? <span style="color: #ff0000;">"Esta FUNCTION no haces nada... "</span><br /><br /> oWord:<span style="color: #000000;">Visible</span> := .t.<br /><br /> oDocuments = oWord:<span style="color: #000000;">Documents</span><br /><br /> oDoc = oDocuments:<span style="color: #000000;">Invoke</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Add"</span> <span style="color: #000000;">)</span><br /><br /> oDoc:<span style="color: #000000;">Invoke</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Write"</span>, <span style="color: #ff0000;">"Test"</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> oDoc:<span style="color: #0000ff;">Name</span> <span style="color: #000000;">)</span><br /><br /> oWord:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"Salida..."</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">FUNCTION</span> OLEUNINITIALIZE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> OLEGETRESULT<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">FUNCTION</span> OLEISOBJECT<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /> </div>[/code:3m44hvgb] |
error: OLEUNINITIALIZEOLEGETRESULTOLEISOBJECT | Saludos.
Precisamente Karina, un compañero de desarrollo incluia en un programa el
function x()
local oWord := TComObject():New( "Word.Application" )
local oDocuments, oDoc
.......
y esto ocasionaba el error, simplemente lo elimine y listo.
gracias. |
error: UNIX PANIC:exit cannot execute \etc\init PID1: status | Boa TArde,
Tenho um servidor UNIX e não arranca dá este erro , alguém pode ajudar?
PANIC:exit cannot execute \etc\init PID1: status 0*00000200
Cumprimentos
João Alpande |
error: UNIX PANIC:exit cannot execute \etc\init PID1: status | João,
google for it, there are results that surely will help you. |
error: UNIX PANIC:exit cannot execute \etc\init PID1: status | João,
[url:peo0ztac]http://www.unix.com/sco/229333-panic-exit-cannot-exec-etc-init-pid-1-status-0-00000200-a.html[/url:peo0ztac]
Regards |
error: _hb_objHasMessage | ola,
depois de atualizar para FWH Junho/2006 ocorre este erro:
xLINK: error: Unresolved external symbol '_hb_objHasMessage'.
xLINK: fatal error: 1 unresolved external(s).
uso as libs TSBUTTON, BARLIB, VGET32 e ADS.
Pesquisei no .map e encontrei a seguinte referência:
0001:0004ab00 _hb_objHasMessage 0044bb00 f
xhbmt:classes.obj
Grata. |
error: _hb_objHasMessage | Syda,
Please add this function to your PRG:
[code:3haqgi9u]
#pragma BEGINDUMP
#include <hbapi.h>
BOOL hb_objHasMessage( PHB_ITEM pObject, PHB_DYNS pMessage )
{
return hb_objGetMethod( pObject, pMessage->pSymbol ) != NULL;
}
#pragma ENDDUMP
[/code:3haqgi9u] |
error: parpadeo en TOutlook 2003 | Hola:En esta clase y en el ejemplo test2003.prg, cuando se cambia de PROMPT, aparece un parpadeo negro en la pantalla.Un saludo |
error: parpadeo en TOutlook 2003 | Hola Antonio:¿Que hay de este error?. Muchas gracias |
error: parpadeo en TOutlook 2003 | Moises,Lo acabamos de probar en Vista y no hay ningún parpadeo ó zona negra.En que versión de Windows lo estás probando ? |
error: parpadeo en TOutlook 2003 | En Windows XP.Se produce en la zona gris del control, cuando abres los prompts. Un amigo programador en C+ me ha dicho que es por el tema del repintado que te comenté en el email.Un saludo, |
error: parpadeo en TOutlook 2003 | Antonio:¿Cómo vas con ello, que me corre prisa.?. Muchas gracias. |
error: parpadeo en TOutlook 2003 | Moises,Como te expliqué por teléfono, no podemos hacer pintado a doble buffer pues se oculta y se muestra un diálogo y esos procesos los hace Winodws y es Windows quien manda los mensajes de repintado.La solución es cambiar el color de fondo del control para que se note lo menos posible. |
error: parpadeo en TOutlook 2003 | Hola Antonio:Sí, me refiero al tema del color <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->.Un saludo |
error: parpadeo en TOutlook 2003 | Antonio:He probado a poner otros valores en ::nClrPane = GetSysColor( , como WHITE o COLOR_SCROLLBAR y el parpadeo negro sigue apareciendo.Un saludo |
error: parpadeo en TOutlook 2003 | Moises,Modifica la clase asi:#define COLOR_BTNFACE 15::nClrPane = GetSysColor( COLOR_BTNFACE ) |
error: parpadeo en TOutlook 2003 | Antonio:También lo probé, poniendo directamente el valor 15 y nada.Se sigue viendo una línea negra bastante fea.Un saludo, |
error: parpadeo en TOutlook 2003 | Antonio:¿Algún avance?.Un saludo |
error: parpadeo en TOutlook 2003 | Moises,Por lo visto es un efecto que solo se aprecia en XP. En Vista, lo hemos probado en distintos ordenadores (más rápidos y más lentos) y se ve perfectamente.Si hemos comprobado que en XP aparece una franja horizontal como de medio centímetro (no siempre en la misma posición), negra como comentas, que desaparece de inmediato cuando el nuevo diálogo es visualizado.Vamos a ver si hay forma de corregirlo y de paso aclaremos que esto no es un error. Un error te para una aplicación. |
error: parpadeo en TOutlook 2003 | Hola Antonio:¿Cómo va la corrección?. Muchas gracias |
error: parpadeo en TOutlook 2003 | Antonio:¿Algún progreso?. |
error: parpadeo en TOutlook 2003 | Moises,Nada por el momento. Si descubrimos la solución, lo anunciaremos <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
error: pressing the key => ' <= SQLRDD xbrowse & lIncrFilte | error: pressing the key => ' <=
I use SQLRDD
oLbx:lIncrFilter := .t.
oLbx:lSeekWild := .t.
Error BASE/1449 Erro de sintaxe: &
[ 1] = C {\\NOM_PROD LIKE '%CHUM[b:2ontzl31]'[/b:2ontzl31]%'
' %CHUM ' % '
all, NageswaraRao could you help me? |
error: pressing the key => ' <= SQLRDD xbrowse & lIncrFilte | [url:ewpu1wy5]http://www.pctoledo.com.br/forum/viewtopic.php?f=45&t=13715[/url:ewpu1wy5] |
errorblock.. | Ancora io,
mi succede una cosa strana sia in Fwin che in harbour, in pratica non riesco a intercettare l'errore.
Ecco l'esempio:
bsave := ERRORBLOCK( { |x| BREAK(x)} )
BEGIN SEQUENCE
_prova:=prngetname()
msgalert("ok !")
RECOVER USING objError
msgalert("errore !")
END
ERRORBLOCK(bsave) // Restore handler
*
* fine
Mi aspetterei che mi risponda Ok ! oppure errore !
Invece mi da l'errore nella istruzione prngetname(), poiche' sul notebook (del mio cliente) in questione ci sono installate 2 stampanti ma sono in rete ma il notebook momentaneamente non e' in rete in quanto scollegato.
Per risolvere il problema ho dovuto installare una stampante locale e porla come predefinita, solo cosi funziona. Se voglio sapere la lista delle stampanti installate con il comando PRINTERSETUP() mi da errore brutale.
Any idea ?
Romeo/Zingoni
* |
errore HBZIP | buongiorno Enrico,
ricevo questo errore con fwh1507, xHarbour 1.2.3 e bcc7 prima usavo bcc55.
forse oltre ad HBZIP manca qualche altra libreria?
grazie per l'aiuto che puoi darmi, ho letto tutti i 3d con ricerca 'hbzip' ma non ho trovato una soluzione.
ciao, marzio
librerie usate
Fivewin libraries: fiveHx.lib fiveHC.lib
xHarbour libraries: rtl.lib vm.lib gtgui.lib lang.lib macro.lib rdd.lib dbfdbt.lib dbfntx.lib
dbfcdx.lib dbffpt.lib debug.lib common.lib pp.lib hbzip.lib ct.lib hbodbc.lib pcrepos.lib hbsix.lib
Advantage libraries: rddads.lib ace32.lib
Borland libraries: c0w32.obj cw32.lib import32.lib odbc32.lib rasapi32.lib nddeapi.lib iphlpapi.lib msimg32.lib GdiPlus.lib shell32.lib
C:\winclip\bcc\bin\ilink32.exe -Gn -aa -Tpe -s -I. @make.tmp
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_inflateEnd' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflate' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_get_crc_table' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflateEnd' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflateInit2_' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_crc32' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_inflateInit2_' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_inflate' referenced from C:\WINCLIP\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unable to perform link |
errore HBZIP | Marzio,
devi aggiungere zlib.lib. Se ti capitano altri casi come questo devi semplicemente prendere il nome della funzione "unresolved" e cercarlo all'interno di tutte le LIB, così riesci subito a capire quale ti manca.
EMG |
errore HBZIP | grazie mille risolto!
grazie anche per il suggerimento.
il file exe generato da 2 mega col bcc55 è passato a 3.5 mega col bcc7.
come si fa a vedere il codice c generato da xHarbour?
ciao |
errore HBZIP | Marzio,
[quote="marzio":2pjue05f]il file exe generato da 2 mega col bcc55 è passato a 3.5 mega col bcc7.[/quote:2pjue05f]
Sì, lo so, purtroppo è inevitabile.
[quote="marzio":2pjue05f]come si fa a vedere il codice c generato da xHarbour?[/quote:2pjue05f]
xHarbour genera dei .C che puoi esaminare. Probabilmente usi un batch che te li cancella. Rintraccia le istruzioni di cancellazione e REMmale.
EMG |
errore HBZIP | scusami se ti disturbo di nuovo ma ho riguardato di nuovo i files ma non ho trovato istruzioni di cancellazione dei file .c
nel file bat ho queste istruzioni del:
del *.obj
del *.hrb
del *.ppo
del samspe32.map
del samspe32.res
nel file mak queste:
@if exist $(APP_EXE) del $(APP_EXE) > nul
@del $(APP_EXE_DIR)\$(APP_NAME).tds
@del make.tmp
potrebbe essere qualche flag del compilatore xHarbour o bcc che cancellano i files .c ?
grazie per l'aiuto
ciao, marzio |
errore HBZIP | Marzio,
[quote="marzio":3k2rpjjl]scusami se ti disturbo di nuovo ma ho riguardato di nuovo i files ma non ho trovato istruzioni di cancellazione dei file .c
nel file bat ho queste istruzioni del:
del *.obj
del *.hrb
del *.ppo
del samspe32.map
del samspe32.res
nel file mak queste:
@if exist $(APP_EXE) del $(APP_EXE) > nul
@del $(APP_EXE_DIR)\$(APP_NAME).tds
@del make.tmp
potrebbe essere qualche flag del compilatore xHarbour o bcc che cancellano i files .c ?[/quote:3k2rpjjl]
Non mi sembra. Io nel mio batch li cancello e se non lo faccio restano lì. Comunque alla peggio scrivi
[code=fw:3k2rpjjl]<div class="fw" id="{CB}" style="font-family: monospace;">harbour tuoprg</div>[/code:3k2rpjjl]
e dovresti ottenere tuoprg.c, avendo specificato anche i percorsi degli include e delle lib.
EMG |
errore HBZIP | .PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include;$(BCDIR)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
li trovi nella cartella \obj
Ciao
Stefano |
errore HBZIP | un file che uso per la compilazione
[code=fw:2de886kd]<div class="fw" id="{CB}" style="font-family: monospace;">#Borland make sample, <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> FiveTech Software <span style="color: #000000;">2005</span><br /><br />HBDIR=c:\xharbour<br />BCDIR=c:\bcc582<br />FWDIR=c:\fwh<br /><br />#change these paths as needed<br />.path.OBJ = .\obj<br />.path.PRG = .\<br />.path.C = .\<br />.path.CH = $<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\include<br />.path.rc = .\<br /><br />#important: <span style="color: #000000;">Use</span> Uppercase <span style="color: #00C800;">for</span> filenames extensions, in the <span style="color: #00C800;">next</span> two rules!<br /><br />PRG = \<br /><span style="color: #0000ff;">menu</span>.PRG \ <br />ERRSYSW.PRG \<br />tcodebar.PRG \<br />twordhb.PRG<br /><br />C = \<br />codabar.C \<br />code11.C \<br />code128.C \<br />code39.C \<br />code93.C \<br />core.C \<br />coredraw.C \<br />datamtrx.C \<br />eanupc.C \<br />itf.C \<br />msi.C \<br />pdf417.C<br /><br />PROJECT : <span style="color: #0000ff;">menu</span>.exe<br /><br /><span style="color: #0000ff;">menu</span>.exe : $<span style="color: #000000;">(</span>PRG:.PRG=.OBJ<span style="color: #000000;">)</span> $<span style="color: #000000;">(</span>C:.C=.OBJ<span style="color: #000000;">)</span> <span style="color: #0000ff;">menu</span>.res<br /> echo off<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\LIB\c0w32.obj + > b32.bc<br /> echo obj\<span style="color: #0000ff;">menu</span>.obj obj\errsysw.obj obj\twordhb.obj obj\tcodebar.obj + >> b32.bc<br /> echo obj\codabar.obj obj\code128.obj obj\code11.obj obj\code39.obj obj\code93.obj obj\core.obj + >> b32.bc<br /> echo obj\coredraw.obj obj\datamtrx.obj obj\eanupc.obj obj\itf.obj obj\msi.obj obj\pdf417.obj, + >> b32.bc<br /> echo <span style="color: #0000ff;">menu</span>.exe, + >> b32.bc<br /> echo <span style="color: #0000ff;">menu</span>.map, + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\lib\SButtonx.lib $<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\lib\FiveHx.lib $<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\lib\FiveHc.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\lib\TExcels.lib + >> b32.bc<br /> rem echo $<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\lib\Barlib.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\rtl.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\vm.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\gtgui.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\lang.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\macro.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\rdd.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\dbfntx.lib + >> b32.bc<br /> rem $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\dbfcdx.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\dbffpt.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\hbsix.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\debug.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\common.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\pp.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\pcrepos.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\ct.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\libmisc.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\tip.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\png.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\zlib.lib + >> b32.bc<br /> rem $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\hbzip.lib + >> b32.bc<br /> <br /> rem Uncomment these two lines <span style="color: #0000ff;">to</span> use Advantage RDD<br /> rem echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\rddads.lib + >> b32.bc<br /> rem echo $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\lib\Ace32.lib + >> b32.bc<br /> <br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\cw32.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\import32.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\uuid.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\ws2_32.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\odbc32.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\rasapi32.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\nddeapi.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\msimg32.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\psapi.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\gdiplus.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\iphlpapi.lib + >> b32.bc<br /> echo $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\lib\psdk\shell32.lib, >> b32.bc<br /><br /> <span style="color: #00C800;">IF</span> EXIST <span style="color: #0000ff;">menu</span>.res echo <span style="color: #0000ff;">menu</span>.res >> b32.bc<br /> $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc<br /> del b32.bc<br /><br />.PRG.OBJ:<br /> $<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\bin\harbour $< /N /W /Oobj\ /I$<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\include<br /> $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\bin\bcc32 -c -tWM -I$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\include -oobj\$& obj\$&.c<br /><br />.C.OBJ:<br /> echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp<br /> echo -I$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\include >> tmp<br /> $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\bin\bcc32 -oobj\$& @tmp $&.c<br /> del tmp<br /><br /><span style="color: #0000ff;">menu</span>.res : <span style="color: #0000ff;">menu</span>.rc<br /> $<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\bin\brc32.exe -r <span style="color: #0000ff;">menu</span>.rc</div>[/code:2de886kd]
Stefano |
errore HBZIP | grazie anche a te Stefano.
ho aggiunto al mio file mak (corretto hb fw e bc dir):
[code=fw:2s9v9i2d]<div class="fw" id="{CB}" style="font-family: monospace;">.PRG.OBJ:<br />$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\bin\harbour $< /N /Oobj\ /I$<span style="color: #000000;">(</span>FWDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\include;$<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\include<br />$<span style="color: #000000;">(</span>BCDIR<span style="color: #000000;">)</span>\bin\bcc32 -c -tWM -I$<span style="color: #000000;">(</span>HBDIR<span style="color: #000000;">)</span>\include -oobj\$& obj\$&.c</div>[/code:2s9v9i2d]
però non posso disattivare le 2 esistenti altrimenti mi da errore: Fatal: '.\samspe.hrb' does not exist - don't know how to make it
[code=fw:2s9v9i2d]<div class="fw" id="{CB}" style="font-family: monospace;">.prg.hrb:<br /> $<span style="color: #000000;">(</span>HARBOUR_EXE<span style="color: #000000;">)</span> $<span style="color: #000000;">(</span>HARBOUR_FLAGS<span style="color: #000000;">)</span> $** -o$@<br />.hrb.obj:<br /> $<span style="color: #000000;">(</span>BORLANDC_COMP_EXE<span style="color: #000000;">)</span> $<span style="color: #000000;">(</span>BORLANDC_COMP_FLAGS<span style="color: #000000;">)</span> -o$@ $**</div>[/code:2s9v9i2d]
ma così compila xHarbour e bcc7 2 volte.
qualche suggerimento?
grazie e ciao, marzio |
errore durante la compilazione del main | Salve a tutti,sto cercando di trasformare un sorgente clipper da 16 bit, con fivewin 1.98, a 32 bit con fivewin 6.12 ,utilizzando come compilatore harbour. dopo vari errori risolti sono riuscito nell'intento : adesso il main viene correttamente compilato,ma al momento dell'avvio, ho questo errore :
(error.log)
Error description: Error BASE/1004 No exported method: GET
da cosa può dipendere?il main non è l'unico sorgente che compone il programma,ma va a richiamare altre funzioni sviluppate separatamente in altri file.grazie anticipatamente per l'aiuto.saluti
Salvatore |
errore in compilazione Rpreview | Emg come ti ho detto in privato ci sono alcuni sorgenti di Linares che non si compilano con il Warning 2Adesso per esempio non riesco a spuntarla con il Rpreview.prg[b:3eg0bgiq]
la variabile Nflag mi dice " declared but not used in function checkkey"
le variabile NXPOS e NYPOS mi dice " declared but not used in function checkmousewheel"[/b:3eg0bgiq]con il w2 non si compilano se torlgo il warning si compila tutto Hai qualche idea ?ti ricordo che quel famoso sorgente è praticamente il rpreview modificato.io la buona volontà ce la voglia mettere ma forse qualcun'altro dovrebbe rivedere alcune sue posizioni. |
errore in compilazione Rpreview | [quote="Silvio":14oa28do]Emg come ti ho detto in privato ci sono alcuni sorgenti di Linares che non si compilano con il Warning 2
Adesso per esempio non riesco a spuntarla con il Rpreview.prg
[b:14oa28do]
la variabile Nflag mi dice " declared but not used in function checkkey"[/b:14oa28do][/quote:14oa28do]
Infatti il parametro nFlags non viene attualmente utilizzato all'interno del metodo CheckKey() e potrebbe benissimo essere tolto. Magari Antonio l'ha lasciato lì come segnaposto per eventuali esigenze future.
[quote="Silvio":14oa28do]le variabile NXPOS e NYPOS mi dice [b:14oa28do]" declared but not used in function checkmousewheel"[/b:14oa28do][/quote:14oa28do]Stesso discorso per i parametri nXPos e nYPos del metodo CheckMouseWheel().EMG |
errore in compilazione Rpreview | si va bene ... a tutto poni le tue risposte.. anche se ci sono molti altri sorgenti che non si compilano..ma io mi chiedo ...possibile che tu non abbia mai ricompilato il rpreview ?Allora mettiti nei miei panni ...io compilo sempre con il W2 ma quando sono costretto a levare il controllo warning per problemi causati dagli stessi sorgenti di base delle librerie di fwh, che devo fare?Infatti il sorgentino è il rpreview modificato, ho solo inserito altre ldue classi che (item e box e lne)e il tutto da errori.ma il problema adesso non è questo. ho altri problemi non vedo i dotsho rivisto il tutto.se io faccio una classe box o line vedo i dots e posso modificare la dimensione , le due classi sono indipendenti tra loro ma (from Tcontrol )Invece in quel sorgente io ho bisogno di una classe generale cioè Titem che aggiunge gli oggetti nel foglio quindi Titem class from tcontrol e box e line sottoclassi di Titem.il problema è che se disegno una linea o un box non vedo i dots.perché ?possibile che non c'é nessuno che mi può aiutare? |
errore in compilazione Rpreview | [quote="Silvio":2uwlk1xt]si va bene ... a tutto poni le tue risposte..[/quote:2uwlk1xt]
???
[quote="Silvio":2uwlk1xt]anche se ci sono molti altri sorgenti che non si compilano..ma io mi chiedo ...possibile che tu non abbia mai ricompilato il rpreview ?[/quote:2uwlk1xt]
Certo che l'ho ricompilato. Anzi, ne uso una mia versione personalizzata.
[quote="Silvio":2uwlk1xt]Allora mettiti nei miei panni ...io compilo sempre con il W2 ma quando sono costretto a levare il controllo warning per problemi causati dagli stessi sorgenti di base delle librerie di fwh, che devo fare?[/quote:2uwlk1xt]Non ho capito la domanda.EMG |
errore in compilazione Rpreview | non capisci ok te la rispiego :ma le classi e i sorgenti che abbiamo acquistato devono essere corretti da noi oppure tutto il source si compila e funziona e sono io che sbaglio ? non perchè i sorgenti che non si compilano ne sono una sfilza e me so stufato sempre a correggerli Non ho potuto compilare EXPBUILD.prg esiste una copia esatta oppure la devo correggere io ? a me sembra che ho acquistato anche il sorgente oppure no ?fammi capire .... |
errore in compilazione Rpreview | Ho capito. No, nei sorgenti che non sono tuoi non ha senso togliere tutti gli warning. A questo dovrebbe pensare l'autore degli stessi. In ogni caso, anche se li correggessi, dovresti ripetere le correzioni ad ogni aggiornamento. Sconsigliabile.EMG |
errore in compilazione Rpreview | MA DI FATTO SI ASPETTA CHE LI CORREGGIAMO NOI SI PUO' AVERE UNA VERSIONE FUNZIONANTE DI EXPBUILD ? |
errore in compilazione Rpreview | [quote="Silvio":m5jaerau]MA DI FATTO SI ASPETTA CHE LI CORREGGIAMO NOI[/quote:m5jaerau]No, quegli warning possono essere tranquillamente ignorati.EMG |
errore in variabile | non riesco a capire quale errore o meglio dove sta quella variabile che non mi azzera la quantità:
cosa deve fare ?
1. primo caso
premendo il bottone 3 e poi il bottone X e poi un bottone del prodotto dovrebbe moltiplicare il tre per il prezzo del prodotto inserirlo nel listbox
azzerare le variabili ( quantità).
2.secondo caso
premendo un botone del prodotto mi deve moltiplicare la quantità 1 per ilprezzo di quel prodotto e poi azzerare le variabili ( quantità).
il problema è che non azera questa variabile delle quantità sia nel caso e sia nel secondo caso portandosi dietro numeri e quindi calcola male le operazioni e inserendo le quantità nel listbox
per EMG ho fatto un programmino test minimale ( purtroppo ho dovuto inserire quelle Funzioni che servono) puoi scaricare a : <!-- w --><a class="postlink" href="http://www.fivegest.it/testc.zip">www.fivegest.it/testc.zip</a><!-- w -->
attendo con fiducia |
errore in variabile | Mi sa che dovrai aspettare un bel po' se non cerchi di ridurre l'esempio al minimo.
EMG |
errore in variabile | se lo hai visto sai che non si puo' ridurre al minimo il test 4 funzioni sono ricopiate da msgcalc()
ho già levato molta troppa roba e non si possono levare altre parti...
le funzioni che sono rimaste sono indispensabili per le utili operazioni per fare il test
Comunque io rimango dell'Idea che un "test minimale" non puo' garantire di trovare la soluzione per un applicazione ampia...
Quindi ci sono volte che con i test minimali si riesce a trovare soluzioni altre no |
errore in variabile | Io il tuo esempio non riesco neanche a compilarlo. Devi semplicemente creare un esempio di poche righe che mostri il problema. Se non ti va di farlo come pretendi che lo faccia qualcun'altro al posto tuo?
EMG |
errore in variabile | >NEANCHE A COMPILARLO ...
Ma no dire [b:4u3gfpwj]eresie[/b:4u3gfpwj] ...
di' invece che non mi vuoi [b:4u3gfpwj]aiutare [/b:4u3gfpwj]... i
o lo compilo benissimo con [b:4u3gfpwj]xmate[/b:4u3gfpwj] |
errore in variabile | Vedo che non sei cambiato. Tanti saluti.
EMG |
errore in variabile | Constato invece che [b:fnkvr0zj]te non sei cambiato[/b:fnkvr0zj]....
Perchè dici che non puoi compilarlo ?
ho levato tutto il codice per renderti la vita facile come vuoi tu e il tuo " test minimale "
Se sei intelligente vedi un codice e ti accorgerai che non è altro msgcalc con un listbox in piu'
come potrei togliere ancora codice ?
Poi veramente la soluzione al problema non si trova e anzi se ne creano molte altre ( dato che mi hai fatto levare il codice indispensabile)
OK OK OK ho capito che te sei molto cambaito , moltissimo cambiato,
cambiato per niente , te il mio codice non lo hai neppure scaricato ....
ce l'hai con me e non so il perchè...
pazienza ma come si dice ..... adesso a me e domani a te!!!!!!!! |
errore irrecuperabile 9006 | Ciao a tutti, da qualche giorno un programma mi restituisce "errore irreuperabile, 9006 hb_xgrab non riesce a riservare memoria"
lo stesso errore viene restituito su macchine diverse
qualcuno ha idea di quale possa essere la ragione?
grazie
Roberto Chiaiese |
errore irrecuperabile 9006 | Problema risolto, l'errore era causato da un file memo (.fpt) corrotto. |
errore nella strinda date | [img:trs2t3l8]https://s8.postimg.cc/3shy2ib11/image.png[/img:trs2t3l8]
Soluzione ?
Ho fwh December 2017 |
errore su compilazione | ho appena installato la nuova versione di FWH
xarbour 0.99.71
fivewin 7.10
ma se provo a compilare il test scaricato con il file adordd.zip il compilatore mi da l'errore
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_stack' referenced from C:\XHARBOUR\LIB\DBFDBT.LIB|dbfdbt1
perchè? |
errore su compilazione | Stai utilizzando una versione molto vecchia di xHarbour dato che DBFDBT.LIB non esiste più da diverso tempo.
Ti conviene utilizzare la versione fornita in dotazione con le FWH.
EMG |
errores FiveLinux | Hola Antonio,
La sintáxis del Browse y del Listbox es distinta a la de FWH.
Por favor, ¿podrías compatibilizarla?. O los parámetros que no estén disponibles pues que se los trage el compilador y tengan un nil.
No es posible probar nada de código de FWH, pretendo probar una pequeña aplicación pero no hay forma.
Igualmente, ¿sabes cuándo estará disponible la clase REPORT?.
Muchas gracias. |
errores FiveLinux | Antonio,
Por favor, ¿puedes mirar esto?.
Gracias, |
errores FiveLinux | Lucas,
Precisamente estamos portando FiveDBU a FiveLinux para probarlo a fondo y ver que le falta, etc...
Tal vez lo idóneo seria proporcionar una versión gratuita para que asi se pueda probar, etc... |
errores FiveLinux | Antonio,
Sí, sería una muy buena idea, así la gente se animaría a usarlo más.
El tema está en que la sintáxis del BROWSE no es la misma que en FWH y debería serlo.
Aquellas prestaciones que no funcionen en FiveLinux deberían tener un nil y listo.
Tampoco, por ejemplo, los parámetros de WINDOW coinciden con los de FWH.
Yo creo que habría que mantener la compatibilidad con los comandos básicos de FWH. Otra cosa es que haya clases, como xBrowse, que no estén disponibles, pero lo básico (Says, gets, combos, botones, diálogos, etc) debería funcionar con la misma sintáxis.
Lo único diferente en estos comandos básicos sería los Gradientes, que no funcionarían en FiveLinux de modo que serían ignorados.
Así se puede reutilizar código y empezar a portar alguna aplicación sencilla a Fivelinux, que debería también funcionar bajo Windows.
Sin embargo, el código de FiveDBU bajo Linux es diferente al de Windows. La verdad es que has tenido una gran idea al usar ese proyecto para pulir esos detalles!!.
Y del tema del Report, ¿tenéis pensado algo?.
Muchas gracias. |
errores FiveLinux | Antonio,
Por favor, ¿puedes mirar lo del Browse?.
Muchas gracias. |
errores FiveLinux | Lucas,
Ahora estamos centrados en el diseñador de ventanas samples/fiveform.prg
Si necesitas usar browses fijate en como los usamos en samples/fivedbu.prg |
errores FiveLinux | Antonio,
Muchas gracias.
Me gustaría (y supongo que a más gente igual) tener un mismo código para Linux y Windows en una aplicación sencillita.
Lo que falla es que la sintáxis de los Browses no es igual.
¿También planeas tener soportado el uso de .rcs con Fivelinux?.
Muchas gracias. |
errores FiveLinux | Lucas,
Hay mucha funcionalidad de FiveWin que aún no está en FiveLinux, asi que hasta que no lleguemos a ese nivel no podemos podemos ofrecer la compatibilidad que comentas.
Aun no es posible recompilar una aplicación FiveWin, tal cual, y que se construya para Linux sin cambios. Pero para un programador acostumbrado a FiveWin, programar en FiveLinux es muy facil <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
errores FiveLinux | Antonio,
Ya, ya se que no se puede eso.
Pero sí que se podría mantener un mínimo de compatibilidad en los menús, combos, diálogos, gets, botones, checkboxes, browses, etc.
Claro que xbrowse, ribbon, tfolderex etc no están disponibles, pero los controles básicos deberían funcionar igual en ambos. Y el tema de Gradientes simplemente ignorarlo.
No veo que razón puede haber para que el GET, el BUTTON, el SAY, etc no sean iguales, y en aquellas cosas no soportadas simplemente se ignora la cláusula respectiva. Entonces si que podremos sacar todo el provecho al dúo. De hecho, yo estoy más cómodo programando en Windows con Med que con el editor de Linux.
Además, tampoco te costará mucho pues te sabes todo el código al dedillo <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->. |
errores FiveLinux | Lucas,
Hay analistas que piensan que el lanzamiento (y fallo) de Windows 8 provocará un auge de Linux.
Yo no tengo ni idea si será asi ó no, pero tal vez muchas empresas vean en Windows 8 una ruptura muy grande y sea el motivo necesario que necesitaban para migrar a Linux.
A mi me gusta que podamos programar en cualquier sistema operativo, que no estemos limitados a uno solo. Pero si esto no lo siguen más personas, entonces FiveLinux no obtendrá el respaldo necesario para desarrollarse más.
En resumidas cuentas: el tiempo que se le dedica a cada sistema operativo es proporcional al interés que hay en ellos. Te lo he explicado al revés pero creo que se entiende... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
errores FiveLinux | Mi opinión humilde, ahora que estoy de vacaciones, sobre FiveLinux.
Me parece genial que FiveLinux sea GPL, Antonio tenía que haberlo realizado desde el inicio, ya estaría acabado <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
Que la gente no se lleve a engaño.
Tu código de Fivewin NO TE VA a funcionar en FiveLinux.
Es muy simple, Fivewin tiene MUCHOS años en sus espaldas, muchas clases y muchas funciones bajo WINAPI.
Fivelinux es compatible con el 30% de tu código, siendo optimistas, y ejemplos simples quizás hasta te funcione sin problemas,
pero no con tú aplicación de más de 5 años.
Además , la librería GTK, que es la que se usa, no funciona igual que el WINAPI, y hay cosas, tontas, como por ejemplo, el MDI,
que no existe como tal, creo que vi en su día una librería de gtk de extras que lo traía, pero bueno, al caso, muchas cosas como DEFINE MAIL,
, MAPI, que no será sencillo de portar.
Otras de GTK, como el MVC, TreeView, ListStore, etc.. que no existen en FiveWIn, pero que es potente, muy muy potente.
La magia NO EXISTE.
Muchas methods, DATA, etc... no están implementadas, por lo tanto, código del tipo oBrowse:bColor := {|o| iif( o:MiData, Esto, lo otro ) }
te va a explotar en las manos.
La impresión, oh! la impresión <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Creo que la gente de GTK, olvidó el trabajo fantástico de gnome-print, similar al WINAPI, y la implementación que han puesto en gtk-print es del tipo que
tienes que calcular el alto / ancho de las lineas, que te van a caber en una hoja, como a la antigua usanza, un ROLLO PATATERO.
Yo realicé las 2 implementaciones para T-GTK.
Mi consejo, que es lo que hecho yo, es usar HAIRUPDF, o usar la clase ImprimePDF, mía que usa HAIRUPDF por debajo, que esta portada a harbour, e imprimes DIRECTAMENTE a PDF.
Para diseñar pantallas, se usa Glade, simple y potente, un fichero xml, y arreando <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
Por ejemplo , esto de T-Gtk sería muy fácil de hacerlo para FiveLinux, no sé si soporta GtkBuilder o/y Libglade.
[code=fw:38liqg4o]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET GTKBUILDER <span style="color: #0000ff;">ON</span> <span style="color: #B900B9;">// Forzamos uso de formato GtkBuilder en vez de LIbGlade.</span><br />SET RESOURCES pGlade <span style="color: #0000ff;">FROM</span> FILE <span style="color: #ff0000;">"./gui/wnd_principal.ui"</span><br /><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">ID</span> <span style="color: #ff0000;">"window1"</span> <span style="color: #0000ff;">RESOURCE</span> pGlade<br /><br /> <span style="color: #B900B9;">// DEFINE LABEL ETC....ETC...</span><br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /> </div>[/code:38liqg4o]
Todas estas cosas van a salir en FiveLinux. Y por eso , haciendo aplicaciones como FiveDBU, se verán mejor las necesidades que
se tienen que ir añadiendo a FiveLinux.
En su día ya le dije a Antonio que puede usar todo lo de T-GTK para FiveLinux, al menos, lo que se refiere a funciones, tenemos muchas
portadas que se pueden implementar muy rápidamente a FiveLinux.
Unos cuantos , Daniel Garcia, Riztan y yo, nos metimos una currada para soportar xharbour/Harbour 32 y 64 bits para T-Gtk, ese trabajo
puede ser aprovechado para potenciar FiveLinux lo más rápido , en cuanto al API de GTK.
¿ Para que repetir el trabajo si puedes usar libremente otro ya disponible ? Lástima que cuando empece con esto no había nada escrito por alguien a quien coger <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
Mucha suerte a FiveLinux y esperemos que triunfe! |
errores FiveLinux | Rafa,
gracias por tu ofrecimiento, como siempre <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Yo creo (llevo años creyéndolo) que la sintaxis de FiveLinux (=FiveWin) es la clave. Es xbase <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Asi se diseñó en las primeras versiones de dBase para Windows y FoxPro.
Si usamos wrappers en C al API de GTK directamente, en realidad nada nos distingue como usuarios xbase. A fin de cuentas, podriamos usar cualquier lenguaje para programar.
Para mi la clave de xbase siempre ha sido:
1. comandos a alto nivel.
2. clases y objetos.
3. wrappers en C a los APIs.
La conexión entre el nivel 1 y 2 fué genialmente resuelta por el preprocesador de Clipper, algo que no encontramos en otros lenguajes. De aqui, que hay que aprovechar lo que nos diferencia y nos da razón de ser <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
El zen del xbase <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> |
errores FiveLinux | Muchas gracias a ambos.
Igual no me explico bien. Claro que no pretendo que xBrowse, TFolderx, los Gradientes, etc me funcionen en FiveLinux. Antonio es un auténtico genio, pero creo que todavía no puede hacer milagros.
Pero sí que las clases básicas deberían funcionar igual. Y el ejemplo del FiveDBU es muy bueno para ponerlo a prueba, y ese código debería funcionar exactamente igual para Fivewin, Fivelinux y Fivemac. No entiendo por qué a la hora de definir un BROWSE con los FIELDS, HEADERS, SIZES, etc no se pueda hacer igual en los tres.
Lo mismo de los diálogos, says, gets, folders, combos, groups, bitmaps, checkbox, radio, image, btnbmps, menus, meter, say, tabs etc.
[b:q0yf7ul9]No pretendo por el contrario que funcione el DEFINE MAIL, la ribbon, ras, outlook, o el MDI, que son clases muy complicadas[/b:q0yf7ul9].
Naturalmente entiendo el argumento de Antonio sobre el interés. Pero es la pescadilla que se muerde la cola, si no se puede recuperar código no se usa Fivelinux. Es el otro lado de la moneda.
Por eso creo que la senda del FiveDBU es muy buena para ir preparando estos aspectos, que naturalmente llevan su tiempo. El reto sería que FiveDBU funcionara con el mismo código en los tres sistemas.
Luego estaría el tema de los recursos para los diálogos y más tarde el tema de la impresión.
Quizás para continuar las pruebas se podría tomar la aplicación de Facturación que está en las contribs de Fivetech en Google, pues es la mejor forma de poner a prueba el producto.
Igual es que esté planteando algo descabellado. En este caso pido disculpas. |
errores FiveLinux | Lucas,
Este es el comando Browse que de momento soporta FiveLinux, como ves es muy muy similar al de FiveWin y FiveLinux:
[code=fw:36njofu5]<div class="fw" id="{CB}" style="font-family: monospace;">#xcommand @ <nRow>, <nCol> BROWSE <oBrw> ;<br /> <span style="color: #000000;">[</span> <of: <span style="color: #0000ff;">OF</span>, <span style="color: #0000ff;">WINDOW</span>, DIALOG> <oWnd> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <headers: <span style="color: #000000;">HEAD</span>, HEADER, HEADERS, TITLE> <cHeading,...> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> FIELDS <Expr1> <span style="color: #000000;">[</span>,<ExprN><span style="color: #000000;">]</span> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <sizes: <span style="color: #000000;">FIELDSIZES</span>, SIZES, COLSIZES> <aColSizes,...> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> FIELDS <Expr1> <span style="color: #000000;">[</span>,<ExprN><span style="color: #000000;">]</span> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <span style="color: #0000ff;">ALIAS</span> <cAlias> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <span style="color: #0000ff;">SIZE</span> <nWidth>, <nHeight> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <update: <span style="color: #000000;">UPDATE</span>> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CHANGE</span> <uChange> <span style="color: #000000;">]</span> ;<br /> <span style="color: #000000;">[</span> <span style="color: #0000ff;">ON</span> DBLCLICK <uDblClick> <span style="color: #000000;">]</span> ;<br /> => ;<br /> <span style="color: #000000;">[</span> <oBrw> := <span style="color: #000000;">]</span> TWBrowse<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <nRow>, <nCol>,;<br /> <span style="color: #000000;">[</span><oWnd><span style="color: #000000;">]</span>, <span style="color: #000000;">[</span>\<span style="color: #000000;">{</span><cHeading>\<span style="color: #000000;">}</span><span style="color: #000000;">]</span>, <span style="color: #000000;">[</span>\<span style="color: #000000;">{</span><aColSizes>\<span style="color: #000000;">}</span><span style="color: #000000;">]</span>,;<br /> \<span style="color: #000000;">{</span> <span style="color: #000000;">[</span>\<span style="color: #000000;">{</span>|o|<Expr1>\<span style="color: #000000;">}</span><span style="color: #000000;">]</span> <span style="color: #000000;">[</span> ,\<span style="color: #000000;">{</span>|o|<ExprN>\<span style="color: #000000;">}</span> <span style="color: #000000;">]</span> \<span style="color: #000000;">}</span>, <cAlias>,;<br /> <nWidth>, <nHeight>, <.<span style="color: #0000ff;">update</span>.>, <span style="color: #000000;">[</span> \<span style="color: #000000;">{</span>|o| <uChange> \<span style="color: #000000;">}</span> <span style="color: #000000;">]</span>,;<br /> <span style="color: #000000;">[</span> \<span style="color: #000000;">{</span>| nRow, nCol, o| <uDblClick> \<span style="color: #000000;">}</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span></div>[/code:36njofu5] |
errores FiveLinux | Antonio,
Muchas gracias.
Para empezar, el nombre es distinto (LISTBOX vs BROWSE).
Faltan del LISTBOX los métodos SELECT; ON LEFT CLIICK, ON RIGHT; FONT; CURSOR; COLOR; MESSAGE, WHEN; DESIGN, VALID; ACTION.
Supongo que FONT, CURSOR y COLOR fácilmente se pueden definir y que tengan Nil.
La cláusula DESIGN también es presdindible.
Pero sobre todo, mi duda es que en fivedbu.prg cambio BROWSE por LISTBOX y tengo estos errores al compilar en FWH:
[code=fw:3n5rmamw]<div class="fw" id="{CB}" style="font-family: monospace;">fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">84</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">84</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">84</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">84</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">84</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OGET'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">84</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OGET'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">88</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'CTITLE'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">90</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'CTITLE'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">93</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'CTITLE'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">110</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">130</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">130</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">130</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">130</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">130</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">132</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">133</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">147</span><span style="color: #000000;">)</span> Warning W0001 Ambiguous reference <span style="color: #ff0000;">'OBRWNEW'</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">288</span><span style="color: #000000;">)</span> Error E0030 Syntax error <span style="color: #ff0000;">"syntax error at '@'"</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">327</span><span style="color: #000000;">)</span> Error E0030 Syntax error <span style="color: #ff0000;">"syntax error at '@'"</span><br />fivedbu.prg<span style="color: #000000;">(</span><span style="color: #000000;">335</span><span style="color: #000000;">)</span> Error E0030 Syntax error <span style="color: #ff0000;">"syntax error at 'WINDOW'"</span></div>[/code:3n5rmamw]
Sobre todo, no entiendo los errores en el LISTBOX, se supone que debería funcionar pero no logro hacerlo correr en FWH.
Muchas gracias Antonio. |
errores FiveLinux | Lucas,
Más adelante llegaremos al punto de revisar la compatibilidad. Ahora estamos aun en el nivel de proporcionar la funcionalidad necesaria para disponer de un diseñador de ventanas y del DBU, Ya queda menos <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
errores FiveLinux | Antonio,
Estupendo. En lo que pueda ayudar por favor dímelo <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->. |
errores ads con tdbf en fw 7.01 | Hola a todos, tengo errores al recompilar mi aplicacion, uso la tdbf y marca errores con funciones como: ADSSETFILTER,ADSISSHARED,ADSDBFHDL, etc,etc,
no inclui la rddads de xharbour, pero si la incluyo me salen muchos mas errores en funciones como:
adsSetServerType,AdsGetDateFormat,AdsSetDateFormat,AdsGetEpoch y un largo etc. ¿?????
Que hago, no he podido estrenar mi FW7.01, ¿que honda?
Agradezco sus comentarios.
Atte
Miguel
SAludos desde Mexico |
errores ads con tdbf en fw 7.01 | [quote="Miguel Salas":1d07c8f5]Hola a todos, tengo errores al recompilar mi aplicacion, uso la tdbf y marca errores con funciones como: ADSSETFILTER,ADSISSHARED,ADSDBFHDL, etc,etc,
no inclui la rddads de xharbour, pero si la incluyo me salen muchos mas errores en funciones como:
adsSetServerType,AdsGetDateFormat,AdsSetDateFormat,AdsGetEpoch y un largo etc. ¿?????
Que hago, no he podido estrenar mi FW7.01, ¿que honda?
Agradezco sus comentarios.
Atte
Miguel
SAludos desde Mexico[/quote:1d07c8f5]
Yo estoy igual, tampoco he podido estrenar la 7.01 bajo Harbour.
Me estoy planteando cambiar el uso de TDbf por TDataBase.
Saludos y suerte.
Carlos G. |
errores ads con tdbf en fw 7.01 | Agrega el RDDADS Y ADEMAS el ACE32.LIB
Con eso se soluciona tu problema |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.