topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
---|---|
rebuild fivehmx.lib and fivehcm.lib for VC++ 2005 (MSVC 8) | Mr. Antonio
If you don't mind, please email to me also.
Regards
Areang |
rebuild tsbutton.lib error | Hi,
I rebuild tsbutton.lib, always show an errror:
error rmake/r2001 exit 65535 'd:\harbour21\bin\harbour ..\source\classes\tsbutton.prg ...
sbuttonh.rmk file:
Def ="__HARBOUR__"
// defining paths
BC ="d:\borland\bcc55"
FW ="d:\fwh1103"
HB ="d:\harbour21"
makepath[.prg] ="..\source\classes"
makepath[.c] ="..\lib;..\source\function"
.prg.c:
$(HB)\bin\harbour $< /n /i..\include;$(FW)\include;$(HB)\include > comp.log
.c.obj:
$(BC)\bin\bcc32 -D$(Def) -O2 -c -I$(HB)\include;$(FW)\include >> comp.log
TSButton.c : TSButton.prg
TSBar.c : TSBar.prg
TSLines.c : TSLines.prg
TSRadio.c : TSRadio.prg
TSTSay.c : TSTSay.prg
TSButton.obj : TSButton.c
TSBar.obj : TSBar.c
TSLines.obj : TSLines.c
TSRadio.obj : TSRadio.c
TSTSay.obj : TSTSay.c
BPaint.obj : BPaint.c
TSButton.exe : BPaint.obj TSButton.obj TSBar.obj TSLines.obj TSRadio.obj TSTSay.obj
Del SButtonH.lib
$(BC)\bin\Tlib SButtonH +TSButton > Lib.log
$(BC)\bin\Tlib SButtonH +BPaint >> Lib.log
$(BC)\bin\Tlib SButtonH +TSBar >> Lib.log
$(BC)\bin\Tlib SButtonH +TSLines >> Lib.log
$(BC)\bin\Tlib SButtonH +TSRadio >> Lib.log
$(BC)\bin\Tlib SButtonH +TSTSay >> Lib.log
Del *.c
Del *.obj
Del *.log
Del *.bak
TKS!
Shuming Wang |
rebuild tsbutton.lib error | Hi Shuming,
I´m using this batch to compile tsbutton. It´s for xharbour, but you can easily adapt it for harbour.
[code=fw:oa6p0c2v]<div class="fw" id="{CB}" style="font-family: monospace;">@ECHO OFF<br />CLS<br />set fwh=d:\fwh<br />set include=.\INCLUDE;d:\fwh\include;%INCLUDE%<br />set hdir=d:\xharbour<br />set bcdir=d:\Borland\bcc55\bin<br />set def=HB_API_MACROS <br /><br />%hdir%\bin\harbour SOURCE\Classes\TSBAR.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSBAR.C<br />%hdir%\bin\harbour SOURCE\Classes\TSBUTTON.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSBUTTON.C<br />%hdir%\bin\harbour SOURCE\Classes\TSLINES.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSLINES.C<br />%hdir%\bin\harbour SOURCE\Classes\TSRADIO.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSRADIO.C<br />%hdir%\bin\harbour SOURCE\Classes\TSTSAY.PRG /n /i%fwh%\include;%hdir%\include /oOBJ\TSTSAY.C<br /><br />rem INICIO Modulos C Generados por Harbour !!!<br /><br />%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSBAR.OBJ OBJ\TSBAR.C<br />%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSBUTTON.OBJ OBJ\TSBUTTON.C<br />%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSLINES.OBJ OBJ\TSLINES.C<br />%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSRADIO.OBJ OBJ\TSRADIO.C<br />%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include -oOBJ\TSTSAY.OBJ OBJ\TSTSAY.C<br /><br />@del OBJ\*.c<br /><br />rem Modulos C Nativos !!!<br /><br />%bcdir%\bcc32 -M -c -O2 -D__HARBOUR__ -DHB_API_MACROS -DHB_FM_STATISTICS_OFF -I%hdir%\include;%include% -oOBJ\BPAINT.OBJ source\<span style="color: #00C800;">function</span>\BPAINT.C<br /><br />@del LIB\SButtonX.LIB<br /><br />%bcdir%\Tlib lib\SButtonX +obj\TSBar > Lib.log<br />%bcdir%\Tlib lib\SButtonX +obj\TSBUtton >> Lib.log<br />%bcdir%\Tlib lib\SButtonX +obj\TSLines >> Lib.log<br />%bcdir%\Tlib lib\SButtonX +obj\TSRadio >> Lib.log<br />%bcdir%\Tlib lib\SButtonX +obj\TSTSay >> Lib.log<br />%bcdir%\Tlib lib\SButtonX +obj\BPaint >> Lib.log<br /><br />rem @del tmplib.bc<br /><br />@echo <span style="color: #0000ff;">Library</span> built</div>[/code:oa6p0c2v] |
reccount en mariadb | Buen dia.
Necesito saber si esta consulta devuelve datos, si lo hago de la forma que lo hacia hasta ahora siempre me dice que devuelve pero no hay datos realmente.
[code=fw:sbtvqc5f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> oQryLocal := ::<span style="color: #000000;">oCnx</span>:<span style="color: #000000;">QUERY</span><span style="color: #000000;">(</span> AUXILIAR_ARBOL, <span style="color: #000000;">{</span> ::<span style="color: #000000;">nIdcarpeta</span>, ::<span style="color: #000000;">nIdDanteCausa</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">IF</span> <span style="color: #000000;">(</span> Len<span style="color: #000000;">(</span>oQrylocal<span style="color: #000000;">)</span> != <span style="color: #000000;">0</span> <span style="color: #000000;">)</span><br /> ? <span style="color: #ff0000;">"hay datos"</span></div>[/code:sbtvqc5f] |
reccount en mariadb | Soluciuonado:
[code=fw:34p7kmwz]<div class="fw" id="{CB}" style="font-family: monospace;">oRs:<span style="color: #000000;">RecordCount</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> != <span style="color: #000000;">0</span></div>[/code:34p7kmwz] |
reccount en mariadb | [code=fw:19crumi3]<div class="fw" id="{CB}" style="font-family: monospace;">oRs:<span style="color: #000000;">RecordCount</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />oRs:<span style="color: #000000;">RecCount</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />oRs:<span style="color: #000000;">LastRec</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span></div>[/code:19crumi3]
--> Total number of records
When a filter is applied:
[code=fw:19crumi3]<div class="fw" id="{CB}" style="font-family: monospace;">oRs:<span style="color: #000000;">KeyCount</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span></div>[/code:19crumi3]
Number of filtered records |
recompilar clipper a harbor | José:
Veo que mi función ha dado buena hebra ! <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: -->
Saludos |
recompilar clipper a harbor | Me toca recompilar un antiguo programa de clípper a harbour y me encuentro con 2 problemas y una duda ....
Los 2 problemas son con 2 funciones de la librería fivepro , en concreto date2str() y cls() , he mirado en el wiki creado para fivepro pero aunque las funciones están documentadas no aparece su código .
Si alguien es tan amable de echarme una manita ...
la duda es que el programa original enlazaba la librería hl_clip.lib , aunque aparentemente no usa nada de esa librería ,k para que servía ? .
Espero alguien me pueda ayudar.
Saludso cordiales a todos. |
recompilar clipper a harbor | Amigo reeplaza la funcion date2str por:
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
° Funcion: Date2Txt()
Argumentos: 6
Argumento 1: La fecha a convertir variable tipo fecha
Argumento 2: Tipo de nombre del día 1=Corto, 2=Largo Ejem: 1=Sáb, 2=Sábado
Argumento 3: Tipo de nombre del mes 1=Corto, 2=Largo Ejem: 1=Ene, 2=Enero
Argumento 4: Tipo de año 1=2 dígitos, 2=4 dígitos Ejem: 1=99, 2=1999
Argumento 5: Separador entre el día de la semana y la fecha
Argumento 6: separador entre dia y mes
Argumento 7: separador entre mes y año
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
*/
FUNCTION Date2Txt(dFecha, nTipdia, nTipMes, nTipAmo, cSepDia, cSepDM, cSepMA)
LOCAL aNomMes:= {"Enero", "Febrero", "Marzo", "Abril", "Mayo", ;
"Junio", "Julio", "Agosto", "Septiembre", "Octubre", ;
"Noviembre", "Diciembre"}
LOCAL aNomDia:= {"Domingo", "Lunes", "Martes", "Míercoles", ;
"Jueves", "Viernes", "Sábado"}
LOCAL La_Fecha := ""
IF EMPTY(dFecha)
dFecha := DATE()
ENDIF
IF EMPTY(nTipDia)
nTipDia := 0
ENDIF
IF EMPTY(nTipMes)
nTipMes := 1
ENDIF
IF EMPTY(nTipAmo)
nTipAmo := 2
ENDIF
IF cSepDia == NIL
cSepDia := SPACE(1)
ENDIF
IF cSepDM == NIL
cSepDM := "/"
ENDIF
IF cSepMA == NIL
cSepMA := "/"
ENDIF
DO CASE
CASE nTipdia == 1
La_Fecha:= LEFT(aNomDia[DOW(dFecha)], 3) + cSepDia
CASE nTipdia == 2
La_Fecha:= aNomDia[DOW(dFecha)] + cSepDia
ENDCASE
La_Fecha:= La_Fecha + STR(DAY(dFecha), 2, 0)
DO CASE
CASE nTipMes == 1
La_Fecha:= La_Fecha + cSepDM + LEFT(aNomMes[MONTH(dFecha)], 3)
CASE nTipMes == 2
La_Fecha:= La_Fecha + cSepDM + aNomMes[MONTH(dFecha)]
ENDCASE
DO CASE
CASE nTipAmo == 1
La_Fecha:= La_Fecha + cSepMA + RIGHT(STR(YEAR(dFecha), 4, 0), 2)
CASE nTipAmo == 2
La_Fecha:= La_Fecha + cSepMA + STR(YEAR(dFecha), 4, 0)
ENDCASE
RETURN (La_Fecha)
y
la funcion cls() es solol limpia la pantalla |
recompilar clipper a harbor | Gracias había creado la funcion
[code=fw:1cck1g7e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> <span style="color: #0000ff;">Date2str</span><span style="color: #000000;">(</span>dDate<span style="color: #000000;">)</span><br /><span style="color: #00C800;">Return</span> cDow<span style="color: #000000;">(</span>dDate<span style="color: #000000;">)</span>+<span style="color: #ff0000;">" "</span>+str<span style="color: #000000;">(</span>day<span style="color: #000000;">(</span>dDate<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">" de "</span> +cMonth<span style="color: #000000;">(</span>dDate<span style="color: #000000;">)</span>+<span style="color: #ff0000;">" "</span>+str<span style="color: #000000;">(</span><span style="color: #0000ff;">year</span><span style="color: #000000;">(</span>dDate<span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> </div>[/code:1cck1g7e]
pero la tuya es mucho mejor ....
En cuanto al cls() no es la misma , esta lleva 2 parametros ,el primero es el color y el segundo es un fondo ...
supongo que sera algo asi como :
[code=fw:1cck1g7e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> cls<span style="color: #000000;">(</span>ncolor,cFondo<span style="color: #000000;">)</span><br /><span style="color: #0000ff;">color</span><span style="color: #000000;">(</span>nColor<span style="color: #000000;">)</span><br />cls<br />retscreen<span style="color: #000000;">(</span>cfondo<span style="color: #000000;">)</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:1cck1g7e]
pero queria la confirmación.
Me falta la duda del hl_clip.
Gracias por responder.
Saludos |
recompilar fiveh.lib | Hola a todos
Estoy tratando de recompilar la librería original de fwh 7.12 con harbour 3.2 rev 17516 y me da estos errores
[code=fw:3b0hrmi1]<div class="fw" id="{CB}" style="font-family: monospace;">WinApi - <span style="color: #000000;">0004</span> ODBC32 not found in FIVEH.LIB, not compiling ------------------------- <br />WinApi - <span style="color: #000000;">0005</span> RAS32 not found in FIVEH.LIB, not compiling -------------------------- <br />WinApi - <span style="color: #000000;">0006</span> REGISTRY not found in FIVEH.LIB, not compiling ----------------------- <br />WinApi - <span style="color: #000000;">0007</span> SHELLAPI ------------------------------------------------------------- <br />etc...<br /><br />OWN *********************************************************************** <br />. <br />LIB MODULES WITH NO <span style="color: #000000;">(</span>PRG<span style="color: #000000;">)</span> SOURCE FILE <br />------------------------------- <br />DBGITEM <br />DBGSTACK <br />DBGVAR <br />HARBOUR_ <br />RPREV32 <br /> </div>[/code:3b0hrmi1]
Genera una librería fiveh.lib pero al querer compilar wbrowse de Hernán sólo compila wbrowline.c y las otras dos no las genera.
Mi pregunta es si es factible compliar la librería original de fivewin con esta versión de harbour y si es así en que fallo.
Gracias |
recompilar fiveh.lib | Al abrir la librería fiveh.c creada con explorer lib, los módulos
[code=fw:14e94w2b]<div class="fw" id="{CB}" style="font-family: monospace;">LIB MODULES WITH NO <span style="color: #000000;">(</span>PRG<span style="color: #000000;">)</span> SOURCE FILE <br />------------------------------- <br />DBGITEM <br />DBGSTACK <br />DBGVAR <br />HARBOUR_</div>[/code:14e94w2b]
me los muestra
[code=fw:14e94w2b]<div class="fw" id="{CB}" style="font-family: monospace;">Publics by module<br /><br />RPREV32 <span style="color: #0000ff;">size</span> = <span style="color: #000000;">12107</span><br /> _HB_FUN_RPREVIEW32 <br /><br />DbgItem <span style="color: #0000ff;">size</span> = <span style="color: #000000;">1085</span><br /> _HB_FUN_TDBGITEM <br /><br />DbgStack <span style="color: #0000ff;">size</span> = <span style="color: #000000;">2260</span><br /> _HB_FUN_TDBGSTACK <br /><br />DbgVar <span style="color: #0000ff;">size</span> = <span style="color: #000000;">2006</span><br /> _HB_FUN_TDBGVAR <br /><br />HARBOUR_ <span style="color: #0000ff;">size</span> = <span style="color: #000000;">628</span></div>[/code:14e94w2b]
lo único que el path que me muestra explorer lib sólo para estos módulos es : objh\
los demás en el path no sale nada. Si quieren ver la imagen [url:14e94w2b]https://docs.google.com/open?id=0B8UT409V4x1mR0tiNGpCamdWbGM[/url:14e94w2b]
Otra vez gracias |
recompilar fiveh.lib | Me estuve fijando en la libreria creada fivehx.lib (la cual me funciona perfectamente), y también tiene esos módulo en el path objhx\, así que eso no tiene nada que ver.
Lo que no sé es porque no me genera los archivos hrb y obj desde los prg. Compilo con verce 1.0. |
recompilar fiveh.lib | Luis,
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=116840#p116840">viewtopic.php?p=116840#p116840</a><!-- l --> |
recompilar fiveh.lib | Gracias nuevamente ya había visto ese post y la había creado el problema que tengo es que compilo con verce y agregaron en las librerías el sufijo HB, con verce no puedo compilar. Me pueden recomendar algun utilitario para hacerlo...
Gracias y disculpen tantos post debido a mi apresuramiento e ignorancia
Luis |
recompilar fiveh.lib | Si lo que necesitas es recompilar fiveh.lib todo lo que tienes que hacer es ejecutar este bat desde FWH\source\classes y FWH\source\function
go.bat
[code=fw:3l0zd8v3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">for</span> %%f in <span style="color: #000000;">(</span>*.prg<span style="color: #000000;">)</span> <span style="color: #00C800;">do</span> c:\harbour\bin\harbour %%f /n /ic:\fwh\include;c:\harbour\include<br /><span style="color: #00C800;">for</span> %%f in <span style="color: #000000;">(</span>*.c<span style="color: #000000;">)</span> <span style="color: #00C800;">do</span> c:\bcc582\bin\bcc32 -c -Ic:\bcc582\include;c:\harbour\include %%f<br /><span style="color: #00C800;">for</span> %%f in <span style="color: #000000;">(</span>*.obj<span style="color: #000000;">)</span> <span style="color: #00C800;">do</span> c:\bcc582\bin\tlib fiveh.lib -+ %%f /<span style="color: #000000;">0</span> /P32,,</div>[/code:3l0zd8v3] |
recompilar fiveh.lib | Gracias nuevamente por responder, la librería la cree bien salvo con eso que para mí eran errores y que luego vi que en la que uso normalmente en xharbour abierta con explorerlib 2.0 tenía los mismos items con path objhx\harbour_ (etc) como la que recompile con harbour salvo que en este caso era objh\harbour_ ,es decir como al no tener los fuentes respeta los originales. SI no es correcto lo que pienso favor advertirme.
El problema que me pasa es que al querer crear TFILEXLS.LIB y otras, no me generaba los hrb y por lo tanto los obj. Después de enviar toda la carata de post que envie me avive que verce pone las librería de harbour sin el sufijo hb
xharbour -> ct.lib y en harbour -> hbct.lib
por eso no me creaba nada.
Que utilitario puedo usar similar al verce para compilar en Harbour y poder seleccionar las librerías por defecto.
Gracias por su atención |
recompilar fiveh.lib | Puedes probar xDevStudio que es gratuito:
[url:1vtpsilj]http://code.google.com/p/fivewin-contributions/downloads/detail?name=xdevstudio.zip&can=2&q=[/url:1vtpsilj]
Nosotros usamos UEStudio que es de pago, pero es un gran producto y disponemos de los ficheros de configuración para FWH, etc. |
recompilar fiveh.lib | Gracias nuevamente Antonio. Lo instalé xdevstudio y aparentemente me lo compila, pero me da error en wbrwline.c, probé con wbrwlineh.c que baje de un post y mejoró ya que hay solo tres errores :
static void near PaintTheLine( HDC hDC, RECT * rct, WORD wIndex,
[color=#FF0080:p8sjryvx]PCLIPVAR pAtext, PCLIPVAR pAsizes [/color:p8sjryvx], aquí el error es [color=#BF00FF:p8sjryvx]E2303 Type name expected[/color:p8sjryvx]
#ifndef __FLAT__
static int near GetInt( PCLIPVAR Array, WORD wIndex );
static far PCLIPSYMBOL pSkip = 0;
#else
static long near GetInt( void * Array, WORD wIndex );
[color=#FF0040:p8sjryvx]PHB_DYNS pSkip = NULL;[/color:p8sjryvx] aquí el error es [color=#BF00FF:p8sjryvx]E2141 Declaration Syntax error [/color:p8sjryvx]
#endif
y aquí el mismo error que el primero
static void near PaintTheLine( HDC hDC, RECT * rct, WORD wIndex,
[color=#FF0080:p8sjryvx]PCLIPVAR pAtext, PCLIPVAR pAsizes,[/color:p8sjryvx] y es el mismo que antes [color=#BF00FF:p8sjryvx]E2303 Type name expected[/color:p8sjryvx]
Que es lo que tendría que agregar o incluir para que me haga una librería con las fuentes de Hernan. Para mí es primordial ya que el xbrowse por esos tiempos no estaba tan desarrollado como ahora y todos mis facturas, remitos etc los trabajo con wbrowse
Muchas gracias por su paciencia |
recompilar fiveh.lib | Luis,
Aqui tienes una version de wbrwline.c adaptada a Harbour y su OBJ ya compilado:
[url:1rupgu1p]http://code.google.com/p/fivewin-contributions/downloads/detail?name=wbrwline.zip&can=2&q=[/url:1rupgu1p]
Por favor pruébalo a ver si te funciona correctamente, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
recompilar fiveh.lib | Gracias Antonio, use el xDev Studio y si bien no me generó la librería, sí me hizo los obj, y con el explorer lib hice una librería en Harbour de Wbrowse de Hernan.
Vamos a ver si la tomo bien cuando pueda complilarla |
recompilar fiveh.lib | Bueno hice varias fiveh.lib, con harb2lib.lib con el go.bat y ambas me tiraban varios errores...
Los errores de abajo(salvo los últimos dos), es lo mejor que obtuve. Utilizé el go.bat en
FUNCIONES
WINAPI
CLASES
e hice la librería y luego compile obteniendo este resultado:
[code=fw:k5a0wisz]<div class="fw" id="{CB}" style="font-family: monospace;">Preparando Script <span style="color: #ff0000;">"C:<span style="color: #000000;">\A</span>rchivos de programa<span style="color: #000000;">\x</span>DevStudio<span style="color: #000000;">\s</span>cripts<span style="color: #000000;">\F</span>iveWin32.xCompiler"</span>...<br />Script em Anexo.. <span style="color: #ff0000;">"FiveWin.xCompiler.prg"</span>...<br />Preset atual .... harbour five<br /> PATH ... C:\harbour\bin;C:\bcc582\Bin<br /> INCLUDE. C:\harbour\include;E:\FWH712\include;C:\bcc582\include;C:\fwh712\include<br /> LIB .... C:\harbour\lib;C:\harb2lib582h;C:\bcc582\lib;C:\bcc582\lib\psdk;C:\fwh712\lib<br /> OBJ .... E:\wbrowseh\obj;C:\fwh712\obj<br /> DEFINES. /c /O2 <br /><br />Variaveis de Ambiente:<br /> PATH ... C:\harbour\bin;C:\bcc582\Bin;C:\Archivos de programa\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1<span style="color: #000000;">.0</span>;C:\Archivos de programa\ATI Technologies\ATI.ACE\Core-<span style="color: #00C800;">Static</span>;C:\Archivos de programa\marinas-ide_02_01_0016;C:\Archivos de programa\Internet Explorer;<br /> INCLUDE. C:\harbour\include;E:\FWH712\include;C:\bcc582\include;C:\fwh712\include;E:\marescah;<br /> LIB .... C:\harbour\lib;C:\harb2lib582h;C:\bcc582\lib;C:\bcc582\lib\psdk;C:\fwh712\lib;E:\marescah\lib;<br /> OBJ .... E:\wbrowseh\obj;C:\fwh712\obj;E:\marescah\obj;<br /> DEFINES. /c /O2 ;<br /><br />Executando: <span style="color: #000000;">ILINK32</span> @B32.BC<br />Turbo Incremental Link <span style="color: #000000;">5.69</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2005</span> Borland<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMSTKLCOUNT'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour.c<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMPARLLIST'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour.c<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMVARLGET'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour.c<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMVARSLEN'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour.c<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBSKIPPER'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|database<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CREATEOBJECT'</span> referenced <span style="color: #0000ff;">from</span> OBJ\RMAIL.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_ZIPFILE'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ZIP.OBJ</div>[/code:k5a0wisz]
Me gustaría saber porque me da los errores en harbour.c y si se pueden solucionar.
Y en lo posible el de createobject de Rmail
Gracias |
recompilar fiveh.lib | Bueno como siempre dejo algo en el tintero con el módulo db10.c que esta en la carpeta funcion me tiraba muchos errores, lo quite de la librería y es lo comentado arriba
Luis |
recompilar fiveh.lib | Bueno ya que hicimos 20 hacemos 21 los errores con db10.c
[code=fw:1isa86ft]<div class="fw" id="{CB}" style="font-family: monospace;">Executando: <span style="color: #000000;">ILINK32</span> @B32.BC<br />Turbo Incremental Link <span style="color: #000000;">5.69</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2005</span> Borland<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CLASSCREATE'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CLASSOBJECT'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBCREATEEXTSTRUCT'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBCREATEFROM'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBCOPYSTRUCT'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_FIELDINFO'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBESETDEFAULT'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBELOAD'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBEBUILD'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN__EARLYBOUNDCODEBLOCK'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN__SYMRELEASE'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CURDRIVE'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|db10<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMSTKLCOUNT'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMPARLLIST'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMVARLGET'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_DBG_VMVARSLEN'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|harbour<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'__astart'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|libmain<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBSKIPPER'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|database<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CREATEOBJECT'</span> referenced <span style="color: #0000ff;">from</span> OBJ\RMAIL.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_ZIPFILE'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ZIP.OBJ</div>[/code:1isa86ft]
Gracias nuevamente |
recompilar fiveh.lib | db10.prg no es para Harbour, se usaba solo con Alaska xBase. Hay que borrarlo |
recompilar fiveh.lib | Prueba con dos guiones:
function DbSkipper( x )
return __DbSkipper( x ) |
recompilar fiveh.lib | Disculpa, creo que es al reves:
Prueba con dos guiones:
function _DbSkipper( x )
return __DbSkipper( x )
ó
function _DbSkipper( x )
return __DbSkipper( x )
Esto se debe a que usaba distintos nombres en Harbour y xHarbour |
recompilar fiveh.lib | Y en harbour.c que es lo que falla...
Gracias |
recompilar fiveh.lib | En harbour.prg tienes que poner estas líneas al principio:
[code=fw:23zu5fxn]<div class="fw" id="{CB}" style="font-family: monospace;"><br />#ifdef __HARBOUR__<br /> #ifndef __XHARBOUR__<br /> <span style="color: #00C800;">function</span> HB_DBG_VMSTKLCOUNT<span style="color: #000000;">(</span> x <span style="color: #000000;">)</span> ; <span style="color: #00C800;">return</span> __DBGVMSTKLCOUNT<span style="color: #000000;">(</span> x <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">function</span> HB_DBG_VMPARLLIST<span style="color: #000000;">(</span> x <span style="color: #000000;">)</span> ; <span style="color: #00C800;">return</span> __DBGVMPARLLIST<span style="color: #000000;">(</span> x <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">function</span> HB_DBG_VMVARLGET<span style="color: #000000;">(</span> x, y <span style="color: #000000;">)</span> ; <span style="color: #00C800;">return</span> __DBGVMVARLGET<span style="color: #000000;">(</span> x, y <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">function</span> HB_DBG_VMVARSLEN<span style="color: #000000;">(</span><span style="color: #000000;">)</span> ; <span style="color: #00C800;">return</span> __DBGVMVARSLEN<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> #endif<br />#endif<br /> </div>[/code:23zu5fxn] |
recompilar fiveh.lib | Gracias Antonio, mejoro pero ahora me da estos errores
[code=fw:1a8xh9ia]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Executando: <span style="color: #000000;">ILINK32</span> @B32.BC<br />Turbo Incremental Link <span style="color: #000000;">5.69</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2005</span> Borland<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CURDRIVE'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|FILENAME<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_FW_GT'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|DDE<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_GETCPU'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|ERRSYSW<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBSKIPPER'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|DATABASE<br /> </div>[/code:1a8xh9ia]
En lo que respecta al programa en sí
Createobject en xharbour funciona y no enlazo ninguna librería el prg es de Ricardo de Moura Marques
SETBALLOON, HB_FUN_SETGETCOLORFOCUS es di fivewin
HB_FUN_HB_ZIPFILE seguramente la tengo que modificar ya que enlazo hbzlib.lib y me faltara alguna librería ya que en xharbour son 2 zlib.lib y hbzip.lib, donde zlib es la equivalencia a hbzlib y no encuentro la equivalencia de hbzip.lib en harbour
HB_FUN_HB_CODEPAGE_ESWIN segurmente no enlaze hbcpage.lib
[code=fw:1a8xh9ia]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CREATEOBJECT'</span> referenced <span style="color: #0000ff;">from</span> OBJ\RMAIL.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_CODEPAGE_ESWIN'</span> referenced <span style="color: #0000ff;">from</span> OBJ\FUNCION.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SETBALLOON'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ORIGEN.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SETGETCOLORFOCUS'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ORIGEN.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_ZIPFILE'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ZIP.Obj</div>[/code:1a8xh9ia]
Estamos mejorando
Gracias |
recompilar fiveh.lib | Faltaba este error
[code=fw:1gpoz0b9]<div class="fw" id="{CB}" style="font-family: monospace;">Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_hb_vmProcessSymbolsEx'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|DATABASE<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_DBSKIPPER'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|DATABASE</div>[/code:1gpoz0b9]
Gracias |
recompilar fiveh.lib | Añade esta función:
function DbSkipper( x )
return _DbSkipper( x ) |
recompilar fiveh.lib | Tambien esta:
function CurDrive( x )
return hb_CurDrive( x ) |
recompilar fiveh.lib | Tienes que enlazar hbwin.lib para CreateObject() |
recompilar fiveh.lib | Gracias Antonio las 2 funciones las puse en mi programa principal y
Error: Unresolved external '_HB_FUN_CURDRIVE' referenced from E:\FWH712\LIB\FIVEH.LIB|FILENAME funcionó
la otra no y me dió estos nuevos errores
[code=fw:a022qbyh]<div class="fw" id="{CB}" style="font-family: monospace;">Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_FW_GT'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|DBTOOLS<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_hb_vmProcessSymbolsEx'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|DATABASE<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CREATEOBJECT'</span> referenced <span style="color: #0000ff;">from</span> OBJ\RMAIL.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SETBALLOON'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ORIGEN.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SETGETCOLORFOCUS'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ORIGEN.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_ZIPFILE'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ZIP.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN__DBSKIPPER'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ORIGEN.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_GETCPU'</span> referenced <span style="color: #0000ff;">from</span> E:\FWH712\LIB\FIVEH.LIB|ERRSYSW</div>[/code:a022qbyh]
Aquí estan las librerías enlazadas
[code=fw:a022qbyh]<div class="fw" id="{CB}" style="font-family: monospace;">FiveH.lib FiveHC.lib +<br />hbrtl.lib + <br />hbvm.lib + <br />gtwin.lib + <br />hblang.lib + <br />hbmacro.lib + <br />hbrdd.lib + <br />hbcpage.lib + <br />hbwin.lib + <br />rddntx.lib + <br />rddcdx.lib + <br />rddfpt.lib + <br />hbsix.lib + <br />hbcommon.lib + <br />hbpp.lib + <br />cw32.lib + <br />import32.lib + <br />nddeapi.lib +<br />iphlpapi.lib +<br />rasapi32.lib +<br />,<br /><span style="color: #ff0000;">"E:<span style="color: #000000;">\m</span>arescah<span style="color: #000000;">\M</span>ARESCA.RES"</span> +</div>[/code:a022qbyh]
No pensé que podía ser tan engoroso cambiar de compilador |
recompilar fiveh.lib | Complie nuevamente y dió esto
Error: Unresolved external '_HB_FUN_FW_GT' referenced from E:\FWH712\LIB\FIVEH.LIB|DBTOOLS
Error: Unresolved external '_HB_FUN__DBSKIPPER' referenced from E:\FWH712\LIB\FIVEH.LIB|DATABASE
Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from OBJ\RMAIL.OBJ
Error: Unresolved external '_HB_FUN_SETBALLOON' referenced from OBJ\ORIGEN.OBJ
Error: Unresolved external '_HB_FUN_SETGETCOLORFOCUS' referenced from OBJ\ORIGEN.OBJ
[color=#BF0040:217gyaix]Error: Unresolved external '_HB_FUN_HB_ZIPFILE' referenced from OBJ\ZIP.OBJ //este lo puedo arreglar [/color:217gyaix]
Error: Unresolved external '_HB_FUN_GETCPU' referenced from E:\FWH712\LIB\FIVEH.LIB|ERRSYSW
Luis |
recompilar fiveh.lib | Antonio probé con la función (yo las veo las dos iguales). Hice un prg con tu función la compile y el obj lo adicione a la librería fiveh.lib e intenté ingresando la función en mi prg original y en los dos casos siguió dando el mismo error.
Lo que hice fue reemplazar tanto en tdatabse como en wbrowse (cuando arregle database empezó a fallar en el mismo lado wbrowse), donde decía en los métodos
_DbSkipper cambiarlo por __dbskipper y voilá compilo.
También agregue harbour-32-bcc.lib para ver que pasaba y no se si fue esto o que pero limpió algunos errores
[code=fw:2m2hezxh]<div class="fw" id="{CB}" style="font-family: monospace;">Turbo Incremental Link <span style="color: #000000;">5.69</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2005</span> Borland<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'__astart'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|libmain<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CREATEOBJECT'</span> referenced <span style="color: #0000ff;">from</span> OBJ\RMAIL.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_ZIPFILE'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ZIP.OBJ</div>[/code:2m2hezxh]
Salto esta libmain...
La librería hbwin.lib va en algun lugar en especial de la compilación???
En xharbour HB_ZIPFILE' esta EN HBZIP.LIB en harbour dónde??
Así esta ahora las librerías en el script
[code=fw:2m2hezxh]<div class="fw" id="{CB}" style="font-family: monospace;">FiveH.lib FiveHC.lib +<br />hbrtl.lib + <br />hbvm.lib + <br />gtgui.lib + <br />hblang.lib + <br />hbmacro.lib + <br />hbrdd.lib + <br />hbcpage.lib + <br />rddntx.lib + <br />rddcdx.lib + <br />rddfpt.lib + <br />hbsix.lib + <br />harbour<span style="color: #000000;">-32</span>-bcc.lib + <br />hbcommon.lib + <br />hbpp.lib + <br />hbwin.lib + <br />hbzlib.lib + <br />cw32.lib + <br />import32.lib + <br />nddeapi.lib +<br />iphlpapi.lib +<br />rasapi32.lib +</div>[/code:2m2hezxh]
Muchas gracias nuevamente por la paciencia |
recompilar fiveh.lib | No enlaces harbour-32-bcc.lib y dime cuales te aparecen, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
recompilar fiveh.lib | Sacando la libreria me sigue dando los mismos errores
[code=fw:13ii5i41]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Executando: <span style="color: #000000;">ILINK32</span> @B32.BC<br />Turbo Incremental Link <span style="color: #000000;">5.69</span> Copyright <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2005</span> Borland<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'__astart'</span> referenced <span style="color: #0000ff;">from</span> C:\HARB2LIB582H\FIVEH.LIB|libmain<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CREATEOBJECT'</span> referenced <span style="color: #0000ff;">from</span> OBJ\RMAIL.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_ZIPFILE'</span> referenced <span style="color: #0000ff;">from</span> OBJ\ZIP.OBJ</div>[/code:13ii5i41]
luis |
recompilar fiveh.lib | Luis,
No tiene por que existir un "libmain" dentro de FiveH.lib. No se como ha llegado ahi. Lo habrás metido por error ?
Respecto a las otras dos funciones, de momento declaralas vacias a la espera de que veamos por que no las encuentra:
function CreateObject()
return nil
y prueba a arrancar la aplicación.
Lo suyo sería que usases el FWH más reciente y no una versión tan antigua... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
recompilar fiveh.lib | Voy a probar y luego te cuento
Luis |
recompilar fiveh.lib | Antonio compilo y generó el exe pero al querer entrar al programa me genera
Error base/1068 Argumento error: array acces from errorsys, line 158
Gracias nuevamente por todas las molestias |
recompilar fiveh.lib | Luis,
Por favor copia aqui la linea 158 de source/function/errsysw.prg
[quote:17hacig5]Error base/1068 Argumento error: array acces from errorsys, line 158[/quote:17hacig5] |
recompilar fiveh.lib | La que esta en rojo
#ifdef __CLIPPER__
cErrorLog += " Windows and MsDos versions: " + ;
AllTrim( Str( aVersions[ 1 ] ) ) + "." + ;
AllTrim( Str( aVersions[ 2 ] ) ) + ", " + ;
AllTrim( Str( aVersions[ 3 ] ) ) + "." + ;
AllTrim( Str( aVersions[ 4 ] ) ) + CRLF + CRLF
#else
cErrorLog += " Windows version: " + ;
AllTrim( Str( aVersions[ 1 ] ) ) + "." + ;
AllTrim( Str( aVersions[ 2 ] ) ) + ", Build " + ;
AllTrim( Str( aVersions[ 3 ] ) ) + ;
[color=#FF0040:35hjt2mm] " " + aVersions[ 5 ] + CRLF + CRLF[/color:35hjt2mm]
#endif |
recompilar fiveh.lib | Comenta esa linea y vuelve a construir la aplicación... |
recompilar fiveh.lib | Bueno te agradezco inmensamente la preocupación que has mostrado en ayudarme pero lamentablemente no hay forma
el error de errorsys, que tenía era el realtado en rojo ( mis fuentes de fwh712 vino así)
#ifdef __CLIPPER__
cErrorLog += " Windows and MsDos versions: " + ;
AllTrim( Str( aVersions[ 1 ] ) ) + "." + ;
AllTrim( Str( aVersions[ 2 ] ) ) + ", " + ;
AllTrim( Str( aVersions[ 3 ] ) ) + "." + ;
AllTrim( Str( aVersions[ 4 ] ) ) + CRLF + CRLF
#else
cErrorLog += " Windows version: " + ;
AllTrim( Str( aVersions[ 1 ] ) ) + "." + ;
AllTrim( Str( aVersions[ 2 ] ) ) + ", Build " + ;
AllTrim( Str( aVersions[ 3 ] ) ) + ;
[color=#FF4040:3a4gxo1v]" " + aVersions[ 5 ] + CRLF + CRLF
#endif[/color:3a4gxo1v]
es
[color=#408080:3a4gxo1v]" " + aVersions[ 4 ] + CRLF + CRLF
#endif[/color:3a4gxo1v]
solucionado esto me salto error en errorsy line 476 , y errorsys tiene 459
por ahora lo voy a dejar y seguiré con xharbour que compile todas las librerías a la última versión sin ningún inconveniente y recompile una de las aplicacione mas grandes (estaba en xharbour.99) sin ningún inconveniente.
Veré en el futuro de cambiar la versión que estoy usando ya que se ve que es muy antigua para poder recomplilar con harbour.
Hoy probe con la version de Harbour 3.0, 3.1 y la 3.2 y en las tres me daba el mismo error.
Te repito Antonio muchisimas gracias por tu ayuda.
Un abrazo |
recompilar fiveh.lib | Parece que está usando un errorsys distinto al de FWH. Tienes un errorsys en tu aplicación ?
Para GetCpu() podemos usar:
GETENV( "NUMBER_OF_PROCESSORS" )
GETENV( "PROCESSOR_ARCHITECTURE" )
GETENV( "PROCESSOR_IDENTIFIER" )
GETENV( "PROCESSOR_LEVEL" )
GETENV( "PROCESSOR_REVISION" ) |
recompilar fiveh.lib | Aunque ayer dije que no iba a continuar pero hoy temprano compile con la version de harbour 2.0 y la diferencia con las anteriores es que tanto en database como en wbrowse me tomo los archivos originales de fwh 712, es decir con el bendito dbskiper tal como venía (y ademas me arrojo muchísimos menos warnnig )... Pero sigue el mismo error:
Aquí te envío el errsys.prg original del 05/11/2007
[code=fw:2v97wu6k]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Error handler system adapted to FiveWin</span><br /><span style="color: #B900B9;">// ErrSysW.prg</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"error.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br />external _fwGenError <span style="color: #B900B9;">// Link FiveWin generic Error Objects Generator</span><br /><br /><span style="color: #00D7D7;">#define</span> NTRIM<span style="color: #000000;">(</span>n<span style="color: #000000;">)</span> <span style="color: #000000;">(</span> LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br />#ifdef __CLIPPER__<br /> <span style="color: #00D7D7;">#define</span> DLG_TITLE <span style="color: #ff0000;">"FiveWin: The CA-Clipper for Windows Library"</span><br />#else<br /> #ifdef __HARBOUR__<br /> <span style="color: #00D7D7;">#define</span> DLG_TITLE <span style="color: #ff0000;">"FiveWin for Harbour"</span><br /> #command QUIT => <span style="color: #000000;">(</span> PostQuitMessage<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span>, __Quit<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> #else<br /> <span style="color: #00D7D7;">#define</span> DLG_TITLE <span style="color: #ff0000;">"FiveWin for Xbase++"</span><br /> #endif<br />#endif<br /><br /><span style="color: #B900B9;">/*************<br />* ErrorSys()<br />*<br />* Note: automatically executes at startup<br />*/</span><br />proc ErrorSys<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> ErrorBlock<span style="color: #000000;">(</span> <span style="color: #000000;">{</span> | e | ErrorDialog<span style="color: #000000;">(</span> e <span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span><br /><br />proc ErrorLink<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span><br /><br /><br /><span style="color: #B900B9;">/*************<br />* ErrorDialog()<br />*/</span><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> ErrorDialog<span style="color: #000000;">(</span> e <span style="color: #000000;">)</span> <span style="color: #B900B9;">// -> logical or quits App.</span><br /><br /> <span style="color: #00C800;">local</span> oDlg, oLbx, oFont<br /> <span style="color: #00C800;">local</span> lRet <span style="color: #B900B9;">// if lRet == nil -> default action: QUIT</span><br /> <span style="color: #00C800;">local</span> n, j, cMessage, aStack := <span style="color: #000000;">{</span><span style="color: #000000;">}</span><br /> <span style="color: #00C800;">local</span> oSay, hLogo<br /> <span style="color: #00C800;">local</span> nButtons := <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">local</span> cErrorLog := <span style="color: #ff0000;">""</span><br /> <span style="color: #00C800;">local</span> aVersions := GetVersion<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> aTasks<br /> <span style="color: #00C800;">local</span> aRDDs, nTarget, uValue<br /> <span style="color: #00C800;">local</span> oOldError<br /> <span style="color: #00C800;">local</span> cRelation<br /> <span style="color: #00C800;">local</span> lIsWinNT := IsWinNT<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// by default, division by zero yields zero</span><br /> <span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> e:<span style="color: #000000;">genCode</span> == EG_ZERODIV <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">return</span> <span style="color: #000000;">0</span><br /> end<br /><br /> <span style="color: #B900B9;">// for network open error, set NETERR() and subsystem default</span><br /> <span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> e:<span style="color: #000000;">genCode</span> == EG_OPEN .and. ;<br /> <span style="color: #000000;">(</span> e:<span style="color: #000000;">osCode</span> == <span style="color: #000000;">32</span> .or. e:<span style="color: #000000;">osCode</span> == <span style="color: #000000;">5</span> <span style="color: #000000;">)</span> .and. ;<br /> e:<span style="color: #000000;">canDefault</span> <span style="color: #000000;">)</span><br /> NetErr<span style="color: #000000;">(</span> .t. <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">return</span> .f. <span style="color: #B900B9;">// Warning: Exiting!</span><br /> end<br /><br /> <span style="color: #B900B9;">// for lock error during APPEND BLANK, set NETERR() and subsystem default</span><br /> <span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> e:<span style="color: #000000;">genCode</span> == EG_APPENDLOCK .and. e:<span style="color: #000000;">canDefault</span> <span style="color: #000000;">)</span><br /> NetErr<span style="color: #000000;">(</span> .t. <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">return</span> .f. <span style="color: #B900B9;">// OJO SALIDA</span><br /> <span style="color: #00C800;">endif</span><br /><br /> <span style="color: #00C800;">if</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">(</span> ProcName<span style="color: #000000;">(</span> <span style="color: #000000;">7</span> <span style="color: #000000;">)</span>, <span style="color: #000000;">10</span> <span style="color: #000000;">)</span> == <span style="color: #ff0000;">"ERRORDIALO"</span><br /> SET RESOURCES <span style="color: #0000ff;">TO</span><br /> ErrorLevel<span style="color: #000000;">(</span> <span style="color: #000000;">1</span> <span style="color: #000000;">)</span><br /> QUIT<br /> <span style="color: #00C800;">endif</span><br /><br /> ErrorBlock<span style="color: #000000;">(</span> <span style="color: #000000;">{</span>|e| MsgStop<span style="color: #000000;">(</span> ErrorMessage<span style="color: #000000;">(</span>e<span style="color: #000000;">)</span> + <span style="color: #ff0000;">" from Errorsys, line:"</span> + ;<br /> Str<span style="color: #000000;">(</span> ProcLine<span style="color: #000000;">(</span> <span style="color: #000000;">1</span> <span style="color: #000000;">)</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>, __quit<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /><br /> cErrorLog += <span style="color: #ff0000;">"Application"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">"==========="</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" Path and name: "</span> + GetModuleFileName<span style="color: #000000;">(</span> GetInstance<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" (16 bits)"</span> + CRLF<br /> #else<br /> cErrorLog += <span style="color: #ff0000;">" (32 bits)"</span> + CRLF<br /> #endif<br /><br /> cErrorLog += <span style="color: #ff0000;">" Size: "</span> + Transform<span style="color: #000000;">(</span> FSize<span style="color: #000000;">(</span> GetModuleFileName<span style="color: #000000;">(</span> ;<br /> GetInstance<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>, <span style="color: #ff0000;">"9,999,999 bytes"</span> <span style="color: #000000;">)</span> + CRLF<br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" Max files handles permited: ( SetHandleCount() ) "</span> + ;<br /> Str<span style="color: #000000;">(</span> SetHandleCount<span style="color: #000000;">(</span><span style="color: #000000;">)</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + CRLF<br /> #endif<br /><br /> cErrorLog += <span style="color: #ff0000;">" Time from start: "</span> + TimeFromStart<span style="color: #000000;">(</span><span style="color: #000000;">)</span> + CRLF<br /><br /> cErrorLog += <span style="color: #ff0000;">" Error occurred at: "</span> + ;<br /> DToC<span style="color: #000000;">(</span> Date<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">", "</span> + Time<span style="color: #000000;">(</span><span style="color: #000000;">)</span> + CRLF<br /><br /> <span style="color: #B900B9;">// Error object analysis</span><br /> cMessage = <span style="color: #ff0000;">" Error description: "</span> + ErrorMessage<span style="color: #000000;">(</span> e <span style="color: #000000;">)</span> + CRLF<br /> cErrorLog += cMessage<br /><br /> <span style="color: #00C800;">if</span> ValType<span style="color: #000000;">(</span> e:<span style="color: #000000;">Args</span> <span style="color: #000000;">)</span> == <span style="color: #ff0000;">"A"</span><br /> cErrorLog += <span style="color: #ff0000;">" Args:"</span> + CRLF<br /> <span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">(</span> e:<span style="color: #000000;">Args</span> <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" ["</span> + Str<span style="color: #000000;">(</span> n, <span style="color: #000000;">4</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">"] = "</span> + ValType<span style="color: #000000;">(</span> e:<span style="color: #000000;">Args</span><span style="color: #000000;">[</span> n <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + cValToChar<span style="color: #000000;">(</span> e:<span style="color: #000000;">Args</span><span style="color: #000000;">[</span> n <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #00C800;">next</span><br /> <span style="color: #00C800;">endif</span><br /><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"Stack Calls"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">"==========="</span> + CRLF<br /> n := <span style="color: #000000;">2</span> <span style="color: #B900B9;">// we don't disscard any info again !</span><br /> <span style="color: #00C800;">while</span> <span style="color: #000000;">(</span> n < <span style="color: #000000;">74</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">(</span>ProcName<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> AAdd<span style="color: #000000;">(</span> aStack, <span style="color: #ff0000;">" Called from: "</span> + ProcFile<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" => "</span> + Trim<span style="color: #000000;">(</span> ProcName<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">"("</span> + NTRIM<span style="color: #000000;">(</span> ProcLine<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">")"</span> <span style="color: #000000;">)</span><br /> cErrorLog += ATail<span style="color: #000000;">(</span> aStack <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #00C800;">endif</span><br /> n++<br /> end<br /><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"System"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">"======"</span> + CRLF<br /><br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" CPU type: "</span> + GetCPU<span style="color: #000000;">(</span><span style="color: #000000;">)</span> + CRLF<br /> #else<br /> cErrorLog += <span style="color: #ff0000;">" CPU type: "</span> + GetCPU<span style="color: #000000;">(</span><span style="color: #000000;">)</span> + <span style="color: #ff0000;">" "</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> GetCPUSpeed<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" Mhz"</span> + CRLF<br /> #endif<br /><br /> cErrorLog += <span style="color: #ff0000;">" Hardware memory: "</span> + ;<br /> cValToChar<span style="color: #000000;">(</span> Int<span style="color: #000000;">(</span> nExtMem<span style="color: #000000;">(</span><span style="color: #000000;">)</span> / <span style="color: #000000;">(</span> <span style="color: #000000;">1024</span> * <span style="color: #000000;">1024</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" megs"</span> + CRLF + CRLF<br /><br /> cErrorLog += <span style="color: #ff0000;">" Free System resources: "</span> + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> GetFreeSystemResources<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" %"</span> + CRLF + ;<br /> <span style="color: #ff0000;">" GDI resources: "</span> + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> GetFreeSystemResources<span style="color: #000000;">(</span> <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" %"</span> + CRLF + ;<br /> <span style="color: #ff0000;">" User resources: "</span> + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> GetFreeSystemResources<span style="color: #000000;">(</span> <span style="color: #000000;">2</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" %"</span> + CRLF + CRLF<br /><br /> cErrorLog += <span style="color: #ff0000;">" Compiler version: "</span> + Version<span style="color: #000000;">(</span><span style="color: #000000;">)</span> + CRLF<br /><br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" Windows and MsDos versions: "</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">"."</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">2</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">", "</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">3</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">"."</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">4</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF + CRLF<br /> #else<br /> cErrorLog += <span style="color: #ff0000;">" Windows version: "</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">"."</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">2</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">", Build "</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">3</span> <span style="color: #000000;">]</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + aVersions<span style="color: #000000;">[</span> <span style="color: #000000;">5</span> <span style="color: #000000;">]</span> + CRLF + CRLF <span style="color: #B900B9;">//línea 158 aquí tiene que ir [4] y cuando compilo da error en la línea 479</span><br /> #endif<br /><br /> aTasks = GetTasks<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" Windows total applications running: "</span> + ;<br /> AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> Len<span style="color: #000000;">(</span> aTasks <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">(</span> aTasks <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" "</span> + Str<span style="color: #000000;">(</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" "</span> + aTasks<span style="color: #000000;">[</span> n <span style="color: #000000;">]</span> + CRLF<br /> <span style="color: #00C800;">next</span><br /><br /> <span style="color: #B900B9;">// Warning!!! Keep here this code !!! Or we will be consuming GDI as</span><br /> <span style="color: #B900B9;">// we don't generate the error but we were generating the bitmap</span><br /><br /> hLogo = FWBitMap<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">if</span> e:<span style="color: #000000;">canRetry</span><br /> nButtons++<br /> <span style="color: #00C800;">endif</span><br /><br /> <span style="color: #00C800;">if</span> e:<span style="color: #000000;">canDefault</span><br /> nButtons++<br /> <span style="color: #00C800;">endif</span><br /><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"Variables in use"</span> + CRLF + <span style="color: #ff0000;">"================"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" Procedure Type Value"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" =========================="</span> + CRLF<br /><br /> n := <span style="color: #000000;">2</span> <span style="color: #B900B9;">// we don't disscard any info again !</span><br /> <span style="color: #00C800;">while</span> <span style="color: #000000;">(</span> n < <span style="color: #000000;">74</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">(</span> ProcName<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" "</span> + Trim<span style="color: #000000;">(</span> ProcName<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #00C800;">for</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> ParamCount<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" Param "</span> + Str<span style="color: #000000;">(</span> j, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">": "</span> + ;<br /> ValType<span style="color: #000000;">(</span> GetParam<span style="color: #000000;">(</span> n, j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + cGetInfo<span style="color: #000000;">(</span> GetParam<span style="color: #000000;">(</span> n, j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #00C800;">next</span><br /> <span style="color: #00C800;">for</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> LocalCount<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" Local "</span> + Str<span style="color: #000000;">(</span> j, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">": "</span> + ;<br /> ValType<span style="color: #000000;">(</span> GetLocal<span style="color: #000000;">(</span> n, j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + cGetInfo<span style="color: #000000;">(</span> GetLocal<span style="color: #000000;">(</span> n, j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #00C800;">next</span><br /> <span style="color: #00C800;">endif</span><br /><br /> n++<br /> end<br /><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"Linked RDDs"</span> + CRLF + <span style="color: #ff0000;">"==========="</span> + CRLF<br /> aRDDs = RddList<span style="color: #000000;">(</span> <span style="color: #000000;">1</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">(</span> aRDDs <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" "</span> + aRDDs<span style="color: #000000;">[</span> n <span style="color: #000000;">]</span> + CRLF<br /> <span style="color: #00C800;">next</span><br /><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"DataBases in use"</span> + CRLF + <span style="color: #ff0000;">"================"</span> + CRLF<br /> <span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">255</span><br /> <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> cErrorLog += CRLF + Str<span style="color: #000000;">(</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">": "</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> <span style="color: #0000ff;">Select</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> == n,<span style="color: #ff0000;">"=> "</span>, <span style="color: #ff0000;">" "</span> <span style="color: #000000;">)</span> + ;<br /> PadR<span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span>, <span style="color: #000000;">15</span> <span style="color: #000000;">)</span> + Space<span style="color: #000000;">(</span> <span style="color: #000000;">20</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">"RddName: "</span> + ;<br /> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> RddName<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" =============================="</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" RecNo RecCount BOF EOF"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" "</span> + Transform<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> RecNo<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>, <span style="color: #ff0000;">"9999999"</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + Transform<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> RecCount<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>, <span style="color: #ff0000;">"9999999"</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + cValToChar<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> BoF<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" "</span> + cValToChar<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> EoF<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + CRLF + CRLF<br /> <br /> <span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> RddName<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> != <span style="color: #ff0000;">"ARRAYRDD"</span> <br /> cErrorLog += <span style="color: #ff0000;">" Indexes in use "</span> + Space<span style="color: #000000;">(</span> <span style="color: #000000;">23</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">"TagName"</span> + CRLF<br /> <span style="color: #00C800;">for</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">15</span><br /> <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> IndexKey<span style="color: #000000;">(</span> j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> cErrorLog += Space<span style="color: #000000;">(</span> <span style="color: #000000;">8</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> IndexOrd<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> == j, <span style="color: #ff0000;">"=> "</span>, <span style="color: #ff0000;">" "</span> <span style="color: #000000;">)</span> + ;<br /> PadR<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> IndexKey<span style="color: #000000;">(</span> j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>, <span style="color: #000000;">35</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> OrdName<span style="color: #000000;">(</span> j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> CRLF<br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">next</span><br /> cErrorLog += CRLF + <span style="color: #ff0000;">" Relations in use"</span> + CRLF<br /> <span style="color: #00C800;">for</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">8</span><br /> <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">(</span> <span style="color: #000000;">(</span> nTarget := <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> DbRSelect<span style="color: #000000;">(</span> j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> cErrorLog += Space<span style="color: #000000;">(</span> <span style="color: #000000;">8</span> <span style="color: #000000;">)</span> + Str<span style="color: #000000;">(</span> j <span style="color: #000000;">)</span> + <span style="color: #ff0000;">": "</span> + ;<br /> <span style="color: #ff0000;">"TO "</span> + <span style="color: #000000;">(</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>-><span style="color: #000000;">(</span> DbRelation<span style="color: #000000;">(</span> j <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" INTO "</span> + <span style="color: #0000ff;">Alias</span><span style="color: #000000;">(</span> nTarget <span style="color: #000000;">)</span> + CRLF<br /> <span style="color: #B900B9;">// uValue = ( Alias( n ) )->( DbRelation( j ) )</span><br /> <span style="color: #B900B9;">// cErrorLog += cValToChar( &( uValue ) ) + CRLF</span><br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">next</span><br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">next</span><br /><br /> n = <span style="color: #000000;">1</span><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"Classes in use:"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">"==============="</span> + CRLF<br /> <br /> #ifndef __XHARBOUR__<br /> <span style="color: #00C800;">while</span> ! Empty<span style="color: #000000;">(</span> __ClassName<span style="color: #000000;">(</span> n <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" "</span> + Str<span style="color: #000000;">(</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" "</span> + __ClassName<span style="color: #000000;">(</span> n++ <span style="color: #000000;">)</span> + CRLF<br /> end<br /> #else <br /> <span style="color: #00C800;">while</span> n <= __ClsCntClasses<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> cErrorLog += <span style="color: #ff0000;">" "</span> + Str<span style="color: #000000;">(</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" "</span> + __ClassName<span style="color: #000000;">(</span> n++ <span style="color: #000000;">)</span> + CRLF<br /> end<br /> #endif <br /><br /> cErrorLog += CRLF + <span style="color: #ff0000;">"Memory Analysis"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">"==============="</span> + CRLF<br /><br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" Static memory:"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" data segment: 64k"</span> + CRLF<br /> #endif<br /><br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" Initial size: "</span> + ;<br /> LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nInitDSSize<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" bytes (SYMP="</span> + LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nSymPSize<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">", Stack="</span> + LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nStackSize<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">", Heap="</span> + LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nHeapSize<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">")"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" PRG Stack: "</span> + ;<br /> LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> <span style="color: #000000;">65535</span> - <span style="color: #000000;">(</span> nStatics<span style="color: #000000;">(</span><span style="color: #000000;">)</span> * <span style="color: #000000;">14</span> <span style="color: #000000;">)</span> - nInitDSSize<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + ;<br /> <span style="color: #ff0000;">" bytes"</span> + CRLF<br /> #endif<br /><br /> #ifdef __CLIPPER__<br /> cErrorLog += <span style="color: #ff0000;">" "</span> + LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nStatics<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" Static variables: "</span> + ;<br /> LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nStatics<span style="color: #000000;">(</span><span style="color: #000000;">)</span> * <span style="color: #000000;">14</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" bytes"</span> + CRLF + CRLF<br /> #else<br /> cErrorLog += <span style="color: #ff0000;">" "</span> + LTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> nStatics<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" Static variables"</span> + ;<br /> CRLF + CRLF<br /> #endif<br /><br /> cErrorLog += <span style="color: #ff0000;">" Dynamic memory consume:"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" Actual Value: "</span> + Str<span style="color: #000000;">(</span> MemUsed<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" bytes"</span> + CRLF<br /> cErrorLog += <span style="color: #ff0000;">" Highest Value: "</span> + Str<span style="color: #000000;">(</span> MemMax<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" bytes"</span> + CRLF<br /> <span style="color: #B900B9;">// nSymNames() no longer returns a real value! 15/April/97</span><br /> <span style="color: #B900B9;">/*<br /> cErrorLog += " SYMBOLS segment" + CRLF<br /> cErrorLog += " " + LTrim( Str( nSymNames() ) ) + " SymbolNames: " + ;<br /> LTrim( Str( nSymNames() * 16 ) ) + " bytes"<br /> */</span><br /><br /> <span style="color: #B900B9;">// Generates a file with an Error Log</span><br /><br /> BEGIN SEQUENCE<br /> oOldError = ErrorBlock<span style="color: #000000;">(</span> <span style="color: #000000;">{</span> || DoBreak<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /> MemoWrit<span style="color: #000000;">(</span> <span style="color: #ff0000;">"Error.log"</span>, cErrorLog <span style="color: #000000;">)</span><br /> END SEQUENCE<br /> ErrorBlock<span style="color: #000000;">(</span> oOldError <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>, <span style="color: #000000;">200</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lIsWinNT, <span style="color: #000000;">50</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">TITLE</span> DLG_TITLE<br /><br /> @ <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #0000ff;">SAY</span> oSay <span style="color: #0000ff;">PROMPT</span> OemToAnsi<span style="color: #000000;">(</span> cMessage <span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">149</span>, <span style="color: #000000;">20</span><br /><br /> oSay:<span style="color: #000000;">nStyle</span> = nOR<span style="color: #000000;">(</span> oSay:<span style="color: #000000;">nStyle</span>, <span style="color: #000000;">128</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">// SS_NOPREFIX</span><br /> oSay:<span style="color: #000000;">nTop</span> = <span style="color: #000000;">3</span><br /> oSay:<span style="color: #000000;">nLeft</span> = <span style="color: #000000;">22</span><br /> oSay:<span style="color: #000000;">nBottom</span> = <span style="color: #000000;">25</span><br /> oSay:<span style="color: #000000;">nRight</span> = <span style="color: #000000;">148</span><br /><br /> @ <span style="color: #000000;">24</span>, <span style="color: #000000;">6</span> <span style="color: #0000ff;">SAY</span> <span style="color: #ff0000;">"&Stack List"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">PIXEL</span><br /><br /> n = aStack<span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span><br /><br /> @ <span style="color: #000000;">33</span>, <span style="color: #000000;">3</span> <span style="color: #0000ff;">LISTBOX</span> oLbx <span style="color: #0000ff;">VAR</span> n <span style="color: #0000ff;">ITEMS</span> aStack <span style="color: #0000ff;">OF</span> oDlg ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">145</span>, <span style="color: #000000;">60</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lIsWinNT, <span style="color: #000000;">18</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">PIXEL</span><br /><br /> <span style="color: #00C800;">if</span> nButtons == <span style="color: #000000;">1</span> .or. nButtons == <span style="color: #000000;">3</span><br /> @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span>, <span style="color: #000000;">60</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Quit"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #00C800;">DEFAULT</span><br /> <span style="color: #00C800;">else</span><br /> @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span>, <span style="color: #000000;">37</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Quit"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">FONT</span> oFont<br /> <span style="color: #00C800;">endif</span><br /><br /> <span style="color: #00C800;">if</span> e:<span style="color: #000000;">CanRetry</span><br /> @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span>, <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> nButtons == <span style="color: #000000;">2</span>, <span style="color: #000000;">82</span>, <span style="color: #000000;">13</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Retry"</span> ;<br /> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span> lRet := .t., oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">PIXEL</span><br /> <span style="color: #00C800;">endif</span><br /><br /> <span style="color: #00C800;">if</span> e:<span style="color: #000000;">CanDefault</span><br /> @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">)</span>, <span style="color: #000000;">108</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Default"</span> <span style="color: #0000ff;">OF</span> oDlg ;<br /> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">(</span> lRet := .f., oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">30</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">PIXEL</span><br /> <span style="color: #00C800;">endif</span><br /><br /> @ <span style="color: #000000;">21</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"See Error.log file"</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">PIXEL</span> ;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">47</span>, <span style="color: #000000;">10</span> ;<br /> <span style="color: #0000ff;">ACTION</span> WinExec<span style="color: #000000;">(</span> <span style="color: #ff0000;">"Notepad.exe error.log"</span> <span style="color: #000000;">)</span><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: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> DrawBitmap<span style="color: #000000;">(</span> hDC, hLogo, <span style="color: #000000;">6</span>, <span style="color: #000000;">6</span> <span style="color: #000000;">)</span><br /><br /> DeleteObject<span style="color: #000000;">(</span> hLogo <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">if</span> lRet == <span style="color: #00C800;">nil</span> .or. <span style="color: #000000;">(</span> !LWRunning<span style="color: #000000;">(</span><span style="color: #000000;">)</span> .and. lRet <span style="color: #000000;">)</span><br /> SET RESOURCES <span style="color: #0000ff;">TO</span><br /> ErrorLevel<span style="color: #000000;">(</span> <span style="color: #000000;">1</span> <span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">// Add these lines if using MDI child windows with dialogboxes</span><br /> <span style="color: #B900B9;">// for n = 1 to Len( GetAllWin() )</span><br /> <span style="color: #B900B9;">// if ValType( GetAllWin()[ n ] ) == "O"</span><br /> <span style="color: #B900B9;">// GetAllWin()[ n ]:UnLink()</span><br /> <span style="color: #B900B9;">// endif </span><br /> <span style="color: #B900B9;">// next </span><br /> QUIT <span style="color: #B900B9;">// must be QUIT !!!</span><br /> <span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> lRet<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> DoBreak<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">BREAK</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">static</span> func ErrorMessage<span style="color: #000000;">(</span> e <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// start error message</span><br /> <span style="color: #00C800;">local</span> cMessage := <span style="color: #00C800;">if</span><span style="color: #000000;">(</span> empty<span style="color: #000000;">(</span> e:<span style="color: #000000;">OsCode</span> <span style="color: #000000;">)</span>, ;<br /> <span style="color: #00C800;">if</span><span style="color: #000000;">(</span> e:<span style="color: #000000;">severity</span> > ES_WARNING, <span style="color: #ff0000;">"Error "</span>, <span style="color: #ff0000;">"Warning "</span> <span style="color: #000000;">)</span>,;<br /> <span style="color: #ff0000;">"(DOS Error "</span> + NTRIM<span style="color: #000000;">(</span>e:<span style="color: #000000;">osCode</span><span style="color: #000000;">)</span> + <span style="color: #ff0000;">") "</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// add subsystem name if available</span><br /> cMessage += <span style="color: #00C800;">if</span><span style="color: #000000;">(</span> ValType<span style="color: #000000;">(</span> e:<span style="color: #000000;">SubSystem</span> <span style="color: #000000;">)</span> == <span style="color: #ff0000;">"C"</span>,;<br /> e:<span style="color: #000000;">SubSystem</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> ,;<br /> <span style="color: #ff0000;">"???"</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// add subsystem's error code if available</span><br /> cMessage += <span style="color: #00C800;">if</span><span style="color: #000000;">(</span> ValType<span style="color: #000000;">(</span> e:<span style="color: #000000;">SubCode</span> <span style="color: #000000;">)</span> == <span style="color: #ff0000;">"N"</span>,;<br /> <span style="color: #ff0000;">"/"</span> + NTRIM<span style="color: #000000;">(</span> e:<span style="color: #000000;">SubCode</span> <span style="color: #000000;">)</span> ,;<br /> <span style="color: #ff0000;">"/???"</span> <span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">// add error description if available</span><br /> <span style="color: #00C800;">if</span> <span style="color: #000000;">(</span> ValType<span style="color: #000000;">(</span> e:<span style="color: #000000;">Description</span> <span style="color: #000000;">)</span> == <span style="color: #ff0000;">"C"</span> <span style="color: #000000;">)</span><br /> cMessage += <span style="color: #ff0000;">" "</span> + e:<span style="color: #000000;">Description</span><br /> end<br /><br /> <span style="color: #B900B9;">// add either filename or operation</span><br /> cMessage += <span style="color: #00C800;">if</span><span style="color: #000000;">(</span> ! Empty<span style="color: #000000;">(</span> e:<span style="color: #000000;">FileName</span> <span style="color: #000000;">)</span>,;<br /> <span style="color: #ff0000;">": "</span> + e:<span style="color: #000000;">FileName</span> ,;<br /> <span style="color: #00C800;">if</span><span style="color: #000000;">(</span> !Empty<span style="color: #000000;">(</span> e:<span style="color: #000000;">Operation</span> <span style="color: #000000;">)</span>,;<br /> <span style="color: #ff0000;">": "</span> + e:<span style="color: #000000;">Operation</span> ,;<br /> <span style="color: #ff0000;">""</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span> cMessage<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><span style="color: #B900B9;">// returns extended info for a certain variable type</span><br /><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> cGetInfo<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> cType := ValType<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br /> <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"C"</span><br /> <span style="color: #00C800;">return</span> <span style="color: #ff0000;">'"'</span> + cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span> + <span style="color: #ff0000;">'"'</span><br /><br /> <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"O"</span><br /> <span style="color: #00C800;">return</span> <span style="color: #ff0000;">"Class: "</span> + uVal:<span style="color: #000000;">ClassName</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"A"</span><br /> <span style="color: #00C800;">return</span> <span style="color: #ff0000;">"Len: "</span> + Str<span style="color: #000000;">(</span> Len<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span>, <span style="color: #000000;">4</span> <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">otherwise</span><br /> <span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">(</span> uVal <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endcase</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00D7D7;">#define</span> HKEY_LOCAL_MACHINE <span style="color: #000000;">2147483650</span> <span style="color: #B900B9;">// 0x80000002</span><br /><br /><span style="color: #00C800;">function</span> GetCPU<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oReg := TReg32<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> HKEY_LOCAL_MACHINE,;<br /> <span style="color: #ff0000;">"HARDWARE<span style="color: #000000;">\D</span>ESCRIPTION<span style="color: #000000;">\S</span>ystem<span style="color: #000000;">\C</span>entralProcessor<span style="color: #000000;">\0</span>"</span>,;<br /> .f. <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> cCpu := oReg:<span style="color: #0000ff;">Get</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ProcessorNameString"</span> <span style="color: #000000;">)</span><br /><br /> oReg:<span style="color: #000000;">Close</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">return</span> cCpu<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />#ifdef __HARBOUR__<br /> #ifndef __XHARBOUR__<br /> REQUEST HB_GT_GUI<br /> procedure HB_GTSYS<span style="color: #000000;">(</span><span style="color: #000000;">)</span> ; <span style="color: #00C800;">return</span><br /> procedure HB_GT_GUI_DEFAULT<span style="color: #000000;">(</span><span style="color: #000000;">)</span> ; <span style="color: #00C800;">return</span> <br /> procedure FW_GT ; <span style="color: #00C800;">return</span><br /> #endif <br />#endif <br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span></div>[/code:2v97wu6k]
Genera el exe pero al ejecutarse el error ya comentado
Veremos si esta por aquí el problema, lo que lamento es no tener los conocimientos como para poder resolverlo.
Luis |
recompilar fiveh.lib | Luis,
Sigamos con el Harbour más reciente (3.x). Añade esta línea al comienzo de tu aplicación:
ErrorBlock( { | o | MsgInfo( o:Description ) } )
y dime que te aparece, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
recompilar fiveh.lib | Dió error de argumento y el hb_out.log
[code=fw:qyndcx96]<div class="fw" id="{CB}" style="font-family: monospace;">------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">54</span>:<span style="color: #000000;">40</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">35</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - e:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">57</span>:<span style="color: #000000;">02</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">57</span>:<span style="color: #000000;">22</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br /> </div>[/code:qyndcx96]
luis |
recompilar fiveh.lib | Añade esta función a tu aplicación
function cWinVersion()
return "XP" |
recompilar fiveh.lib | Antonio te envío el hb_out.log, agregue la funcion que me enviaste en el módulo principal de mi aplicación
[code=fw:2b0wgwc5]<div class="fw" id="{CB}" style="font-family: monospace;"><br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">54</span>:<span style="color: #000000;">40</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">56</span>:<span style="color: #000000;">35</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - e:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">57</span>:<span style="color: #000000;">02</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">57</span>:<span style="color: #000000;">22</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> CWINVERSION<span style="color: #000000;">(</span><span style="color: #000000;">96</span><span style="color: #000000;">)</span> in c:\fwh1\<span style="color: #00C800;">function</span>\GETSYSIN.prg<br />Called <span style="color: #0000ff;">from</span> TMENU:<span style="color: #000000;">INITIATE</span><span style="color: #000000;">(</span><span style="color: #000000;">380</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">MENU</span>.prg<br />Called <span style="color: #0000ff;">from</span> MENUEND<span style="color: #000000;">(</span><span style="color: #000000;">72</span><span style="color: #000000;">)</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">(</span><span style="color: #000000;">260</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">17</span>:<span style="color: #000000;">15</span>:<span style="color: #000000;">26</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">COORSUPDATE</span><span style="color: #000000;">(</span><span style="color: #000000;">1011</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">2022</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">218</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">(</span><span style="color: #000000;">3250</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> SETMENU<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TWINDOW<span style="color: #000000;">(</span><span style="color: #000000;">542</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">275</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span><span style="color: #000000;">167</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">17</span>:<span style="color: #000000;">36</span>:<span style="color: #000000;">04</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">COORSUPDATE</span><span style="color: #000000;">(</span><span style="color: #000000;">1011</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">2022</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">218</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">(</span><span style="color: #000000;">3250</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> SETMENU<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TWINDOW<span style="color: #000000;">(</span><span style="color: #000000;">542</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">275</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span><span style="color: #000000;">167</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">17</span>:<span style="color: #000000;">37</span>:<span style="color: #000000;">01</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">COORSUPDATE</span><span style="color: #000000;">(</span><span style="color: #000000;">1011</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">2022</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">218</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">(</span><span style="color: #000000;">3250</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> SETMENU<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TWINDOW<span style="color: #000000;">(</span><span style="color: #000000;">542</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">275</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span><span style="color: #000000;">167</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.23</span> <span style="color: #000000;">17</span>:<span style="color: #000000;">40</span>:<span style="color: #000000;">11</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">COORSUPDATE</span><span style="color: #000000;">(</span><span style="color: #000000;">1011</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">2022</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">RESIZE</span><span style="color: #000000;">(</span><span style="color: #000000;">218</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">(</span><span style="color: #000000;">3250</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> SETMENU<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TWINDOW<span style="color: #000000;">(</span><span style="color: #000000;">542</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TWINDOW:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">SETMENU</span><span style="color: #000000;">(</span><span style="color: #000000;">275</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span><span style="color: #000000;">167</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">98</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br /> </div>[/code:2b0wgwc5]
Luis |
recompilar fiveh.lib | Que código tienes en la linea COORSUPDATE(1011) in c:\fwh1\classes\WINDOW.prg ? |
recompilar fiveh.lib | [color=#FF0080:hb4s2jnm]::nTop = aRect[ 1 ][/color:hb4s2jnm]
[code=fw:hb4s2jnm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> CoorsUpdate<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #00C800;">CLASS</span> TWindow<br /><br /> <span style="color: #00C800;">local</span> aRect := GetCoors<span style="color: #000000;">(</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">)</span><br /><br /> ::<span style="color: #000000;">nTop</span> = aRect<span style="color: #000000;">[</span> <span style="color: #000000;">1</span> <span style="color: #000000;">]</span><br /> ::<span style="color: #000000;">nLeft</span> = aRect<span style="color: #000000;">[</span> <span style="color: #000000;">2</span> <span style="color: #000000;">]</span><br /> ::<span style="color: #000000;">nBottom</span> = aRect<span style="color: #000000;">[</span> <span style="color: #000000;">3</span> <span style="color: #000000;">]</span><br /> ::<span style="color: #000000;">nRight</span> = aRect<span style="color: #000000;">[</span> <span style="color: #000000;">4</span> <span style="color: #000000;">]</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:hb4s2jnm] |
recompilar fiveh.lib | Implementa esta funcion:
function GetCoors( hWnd )
return { WndTop( hWnd ), WndLeft( hWnd ), WndBottom( hWnd ), WndWidth( hWnd ) - WndLeft( hWnd ) } |
recompilar fiveh.lib | Antonio al error anterior, con la inclusion de la función se agregó
[code=fw:14tyuarh]<div class="fw" id="{CB}" style="font-family: monospace;">Application Internal Error - E:\marescah\maresca.EXE<br />Terminated <span style="color: #00C800;">at</span>: <span style="color: #000000;">2012.09</span><span style="color: #000000;">.24</span> <span style="color: #000000;">10</span>:<span style="color: #000000;">22</span>:<span style="color: #000000;">34</span><br />Unrecoverable error <span style="color: #000000;">9001</span>: <span style="color: #000000;">Error</span> recovery failure<br />Called <span style="color: #0000ff;">from</span> TMDIFRAME:<span style="color: #000000;">GETCLIRECT</span><span style="color: #000000;">(</span><span style="color: #000000;">1259</span><span style="color: #000000;">)</span> in c:\fwh1\classes\<span style="color: #0000ff;">WINDOW</span>.prg<br />Called <span style="color: #0000ff;">from</span> TMSGBAR:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span><span style="color: #000000;">89</span><span style="color: #000000;">)</span> in c:\fwh1\classes\MSGBAR.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">104</span><span style="color: #000000;">)</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br /><br /> </div>[/code:14tyuarh]
la línea 104 del programa es
SET MESSAGE OF oVentPrinc ; // Mensaje que mostrar al estar
TO "Quim-Trans Coop Trab Lda "; // activa la ventana principal.
KEYBOARD; // Mostrar estado del teclado
[color=#FF0040:14tyuarh] DATE // Mostrar Fecha[/color:14tyuarh]
Luis |
recompilar fiveh.lib | Luis,
Estamos asumiendo que FWH 7.12 puede funcionar con Harbour 3.2 y posiblemente eso no sea asi...
Tendriamos que recompilar la libreria entera aqui y probar que funcione correctamente |
recompilar fiveh.lib | Sí Antonio me parece que lo mejor es que siga con xHarbour que hasta ahora siempre pude utilizar la última versión, y no creo que sea bueno para todos los integrantes de la lista el seguir con esto ya que es mejor seguir mejorando fivewin que volver hacia atrás. Si fwh712 no es compatible con harbour (2.0 en adelante, con anteriores compilé y no hubo problemas) no es atribuible a Fivetech, sino que harbour a cambiado demasiado.
De corazón muchísimas Gracias por tu atención y en breve espero poder acturalizarme.
Luis |
recompiled with c files | I must compiled on a program this function
but when I recompiled the program the exe not run ...why ?
I think there is an error but where ?
[code:2nd4qdqv]
#define HB_API_MACROS
#include <Windows.h>
//#include <dos.h>
#include <hbApi.h>
typedef struct
{
FARPROC farProc;
// BYTE bType;
// BYTE bReturn;
// BYTE bParams;
// BYTE bParam[ 15 ];
} STRFUNC;
//----------------------------------------------------------------------------//
HARBOUR HB_FUN_CLSETROP2() //(hDll,Ctex)
{
hb_retni( SetROP2( (HDC) hb_parnl(1), hb_parni(2)) );
}
[/code:2nd4qdqv] |
recompiled with c files | Silvio,
You may try hb_parnl(2) |
recompiled with c files | Hard to say without more details on the error you got and a reduced and self-contained sample showing the problem.
EMG |
recompiled with c files | I trying to recompiled tdwg cad class of Arthuro. Now run ok thank EMG and Linares |
recompiled with c files | Hello Silvio
Could you share how to dispaly CAD file(Only)?
Regards,
Richard |
recompiled with c files | [quote:1hd7zhow]Could you share how to dispaly CAD file(Only)?
[/quote:1hd7zhow]
Dear taiwan,
YOU must use tdgw class of Arthuro Tamaya Daza and then you must go to <!-- w --><a class="postlink" href="http://www.opendwg.com">www.opendwg.com</a><!-- w --> to download the lib and others file .h
I cannot send you these files...
Regards |
recompiled with c files | Hello Silvio,
I try link OpenDesign 3rd LIB and get error below:
T:\DWGCAD>t:\drlib32x\bc5\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_od_atof' referenced from T:\DWGCAD\ADB5ND3.LIB|adrent
Any idea or suggestion?
Thank you
Richard |
recompiled with c files | I recompiled all
all ok
I compiled the class and my sample ok
I not understand What happened to you ...perhaps U wrong... |
recompiled with c files | Perhaps I use.....Xmate to compile all ( lib,Dll. and prg) with success !!!!!!! |
recompiling C sources | I need to recompile some sources (like mgetcrea.c) in sources\winapi folder of fw 2.6. I use a batch file for compiling:
[quote:2b44yh5r]
@ ECHO OFF
echo -------------------------------------------------
echo MODIFICA SORGENTI NELLE LIBRERIE XHARBOUR
echo sintassi: compila nome_sorgente_c nome_lib_fw
echo tutto SENZA estensioni
echo -------------------------------------------------
pause
c:\borland\bcc55\bin\bcc32 +xharbour.cfg -c %1.c
pause
c:\borland\bcc55\bin\tlib c:\fwh\lib\%2 /P32 -+%1.obj
IF EXIST *.obj DEL *.obj
IF EXIST *.bak DEL *.bak
Pause
[/quote:2b44yh5r]
I get no error doing it, but linking the modified lib to a project cuases the error:
[quote:2b44yh5r]
Error: Unresolved external '_HB_FUN_MGETCREATE' referenced from C:\FWH\LIB\FIVEHX.LIB|MGET
[/quote:2b44yh5r]
do I need other parameters? what am I doing wrong?
regards |
recompiling C sources | You have to use clp2harb utility.
EMG |
recompiling C sources | Riccardo,
clp2harb is located at c:\fwh\tools\clp2harb.exe and clp2harb.prg |
recompiling C sources | which is the input of clp2harb.exe? the obj generated compiling the c source? |
recompiling C sources | [quote="Maverich":1luc7pts]which is the input of clp2harb.exe? the obj generated compiling the c source?[/quote:1luc7pts]
No, the source code. The utility changes CLIPPER in HB_FUNC and other similar things.
EMG |
recompiling a 2018 procedure ... | I have this error
[code=fw:ju66p8g7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1005</span> <span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;">TBTNBMP</span>:_AGRADRECT<br /> Args:<br /> <span style="color: #000000;">[</span> <span style="color: #000000;">1</span><span style="color: #000000;">]</span> = O TBTNBMP<br /><br />Stack Calls<br />===========<br /> Called <span style="color: #0000ff;">from</span>: => __ERRRT_SBASE<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TBTNBMP:<span style="color: #000000;">ERROR</span><span style="color: #000000;">(</span> <span style="color: #000000;">148</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>HBOBJECT<span style="color: #000000;">(</span> <span style="color: #000000;">77</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TBTNBMP:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TBTNBMP:_AGRADRECT<span style="color: #000000;">(</span> <span style="color: #000000;">142</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBRWCOLUMN:<span style="color: #000000;">PAINTCELLBTN</span><span style="color: #000000;">(</span> <span style="color: #000000;">14799</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBRWCOLUMN:<span style="color: #000000;">PAINTCELL</span><span style="color: #000000;">(</span> <span style="color: #000000;">14735</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBRWCOLUMN:<span style="color: #000000;">PAINTDATA</span><span style="color: #000000;">(</span> <span style="color: #000000;">14335</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">DRAWLINE</span><span style="color: #000000;">(</span> <span style="color: #000000;">3084</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #0000ff;">PAINT</span><span style="color: #000000;">(</span> <span style="color: #000000;">2540</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #00C800;">DISPLAY</span><span style="color: #000000;">(</span> <span style="color: #000000;">2166</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span> <span style="color: #000000;">1821</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">XBROWSE</span>.PRG => TXBROWSE:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span> <span style="color: #000000;">12003</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">(</span> <span style="color: #000000;">3560</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: => DIALOGBOXINDIRECT<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">(</span> <span style="color: #000000;">304</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => ERRORDIALOG<span style="color: #000000;">(</span> <span style="color: #000000;">448</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>ERRORSYS<span style="color: #000000;">(</span> <span style="color: #000000;">24</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: => __ERRRT_SBASE<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span><br /> </div>[/code:ju66p8g7]
WHY ? |
recompiling a 2018 procedure ... | In which version of FWH you got this error? |
recompiling a 2018 procedure ... | [quote="nageswaragunupudi":20j6uogw]In which version of FWH you got this error?[/quote:20j6uogw]
December 2021 to March 2022
I didn't understand why this error came out, I tried and tried again and it doesn't come out anymore, then I don't want it to come out to my client and I make an omelette <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
recompiling an oldest application : TPanel error ldrag ? | [b:2cwz769r]I not change anything!!![/b:2cwz769r]
I Have not [color=#8000FF:2cwz769r][size=150:2cwz769r]words[/size:2cwz769r][/color:2cwz769r]!!!!
<!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
[code=fw:2cwz769r]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Work\Prg\fsdi2006\main.Exe <span style="color: #000000;">(</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">3</span>,<span style="color: #000000;">891</span>,<span style="color: #000000;">712</span> bytes<br /> Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">(</span>r1703231115<span style="color: #000000;">)</span><br /> FiveWin version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">17.12</span><br /> C compiler version: <span style="color: #000000;">Borland</span>/Embarcadero C++ <span style="color: #000000;">7.0</span> <span style="color: #000000;">(</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">)</span><br /> Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7600</span> <br /><br /> Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">1</span> secs <br /> Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">14</span><span style="color: #000000;">-03</span><span style="color: #000000;">-2018</span>, <span style="color: #000000;">22</span>:<span style="color: #000000;">02</span>:<span style="color: #000000;">28</span><br /> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">44</span> Assigned value is wrong <span style="color: #00C800;">class</span>: <span style="color: #000000;">TPANEL</span>:<span style="color: #000000;">LDRAG</span><br /> Args:<br /> <span style="color: #000000;">[</span> <span style="color: #000000;">1</span><span style="color: #000000;">]</span> = N <span style="color: #000000;">16777215</span><br /><br />Stack Calls<br />===========<br /> Called <span style="color: #0000ff;">from</span>: => TPANEL:_LDRAG<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\TPANEL.PRG => TPANEL:<span style="color: #00C800;">NEW</span><span style="color: #000000;">(</span> <span style="color: #000000;">43</span> <span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\pcustomer2.prg => BUILDEXPLORERBAR<span style="color: #000000;">(</span> <span style="color: #000000;">174</span> <span style="color: #000000;">)</span></div>[/code:2cwz769r] |
recompiling an oldest application : TPanel error ldrag ? | correct!!
::lDrag = .f.
was remmed .....why? |
recompiling an oldest application : TPanel error ldrag ? | In 2017 July, 6th param lDesign was added to the method New, which defaults to .F. and
::lDrag := .f. was changed to ::lDrag := lDesign.
Any existing programs, if correctly written, should not have any problem with this change.
Prior to this change method New had 5 params, <top>, <left>, <bottom>, <right>, <wnd>. Had you used 5 params only you would not had any issues.
You obviously used a numeric value as 6th parameter. That resulted in this error. Had you used 5 params you would not have had this error. |
record selezionati | usando xbrowse posso selezionare i record
[code:1646xwvs]
STATIC FUNCTION MultiSelect( oWnd )
local oChild, oBrw
DEFINE WINDOW oChild TITLE "MultiSelect browse" MDICHILD OF oWnd
oBrw := TXBrowse():New( oChild )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS
oBrw:SetRDD()
oBrw:CreateFromCode()
oChild:oClient := oBrw
ACTIVATE WINDOW oChild ON INIT oBrw:SetFocus()
RETURN NIL[/code:1646xwvs]
se volessi stampare solo irecord selezionati come potrei fare ?
il problema sussiste solo se uso xbrowse con wbrowse non ho nessun problema perchè ho associato al tasto f5 la selezione del record che aggiungo aadd in un array
Per motivi solo di estetica preferisco usare xbrowse però non volevo rinunciare alla selezione del record per le stampe |
record selezionati | oBrw:aSelected che ti ho già segnalato non funziona?
EMG |
record selezionati | è solo che io con wbrowse premendo f5 selezionavo un record ed inserivo nel browse un bmp e qui niente di nuovo
questa funziona inseriva il bmp nel browse ( cosa che in xbrowse non funziona)
cBmp,cCan sono variabili per caricare i resource
cBmp:=LoadBitMap(GetResources(),"C_Pal")
cCan:=LoadBitMap(GetResources(),"C_Roj")
[code:2w5houe4]
STAT FUNC Ds_Mar(cBmp,cCan) // Marca
LOCAL cRet:=""
cRet:=IF((oDCli)->Status="B",cCan,cRet)
cRet:=IF(AScan(oT:aSel,(oDCli)->NumCli)<>0,cBmp,cRet)
RETURN (cRet)
[/code:2w5houe4]
quando premevo f5 chiamavo questa funzione :
[code:2w5houe4]
STAT FUNC Seleziona() // Seleziona registro
LOCAL x:=AScan(oT:aSel,(oDCli)->NumCli)
IF x<>0
ADel(oT:aSel,x)
ASize(oT:aSel,Len(oT:aSel)-1)
ELSE
AAdd(oT:aSel,(oDCli)->NumCli)
ENDIF
oApp():oGrid:SetFocus()
RETURN (NIL)
[/code:2w5houe4]
e poi nella stampa usavo la variabili ot:asel per esempio
[code:2w5houe4]
CursorWait()
(oDCli)->(DbGoTop())
DO WHILE !(oDCli)->(EoF())
IF (nOpt=1 .AND. AScan(oT:aSel,(oDCli)->NumCli)<>0) .OR. ;
(nOpt=2 .AND. (oDCli)->TipCli=cTip)
oPrn:CmSay(nRow, 2.0,(oDCli)->RazSoc,oFn1, 8.7)
oPrn:CmSay(nRow,11.0,(oDCli)->NumCli,oFn1,,,,2)
oPrn:CmSay(nRow,12.0,(oDCli)->EncCom,oFn1)
oPrn:CmSay(nRow,17.5,(oDCli)->TelFi1,oFn1)
nCli++
nRow+=0.4
....
[/code:2w5houe4]
non so se hai capito ...
se uso ogrid:aselected dovrebbe funzionare ma in realtà no |
record selezionati | Con TXBrowse la gestione della selezione è automatica.
EMG |
record selezionati | quindi secondo come faccio per non riscrivere tutto ?
cio' che chiamo asel ( array di record selezionati) xbrowse in automatico lo chiama aselected potrebbe funzionare ?
be ho provato ma non mi ha stampato niente ( selezionando solo due record)
ecco il codice :
[code:3r4y5a9m]
STAT FUNC Relacion(n)
LOCAL oPrn, oFn1, oFn2, oFn3, cSTit
LOCAL aDes, aHas, nHor,nRow,cForm
LOCAL nRec ,lPrv:=.t.
cSTit:="ELENCO GENERALE SOCI AL "+cf(Date())+" "+ n
cSTit:=Alltrim(cSTit)
nRec:=(oDCli)->(Recno())
oPrn:=PrintBegin("Elenco Soci...",.F.,lPrv,,.T.)
DEFINE FONT oFn1 NAME cFont SIZE 0,- 8 OF oPrn
DEFINE FONT oFn2 NAME cFont SIZE 0,- 8 BOLD OF oPrn
DEFINE FONT oFn3 NAME cFont SIZE 0,-11 BOLD OF oPrn
cForm:=Get_Form("101")
* oPrn:SetPortrait() //verticale
oPrn:SetLandscape() //verticale
nHor:=oPrn:nHorzSize()
nVer:=oPrn:nVertSize()
nRow:=4.9
PageBegin()
CursorWait()
Title_WIN(oPrn,nHor,nVer,oFn1,oFn2,oFn3,cSTit,1,.T.,cForm)
oPrn:CmSay(4.2, 1.5,"NUM",oFn1,,,,2)
oPrn:CmSay(4.2, 2.4,"A",oFn1,,,,2)
oPrn:CmSay(4.2, 2.7,"T",oFn1,,,,2)
oPrn:CmSay(4.2, 3.0,"NOMINATIVO",oFn1)
oPrn:CmSay(4.2, 7.0,"TESSERA",oFn1)
oPrn:CmSay(4.2, 8.5,"NASCITA",oFn1)
oPrn:CmSay(4.2,10.6,"TELEFONI",oFn1)
oPrn:CmSay(4.2,15.5,"INDIRIZZO",oFn1)
oPrn:CmSay(4.2,20.5,"LOCALITA'",oFn1)
oPrn:CmSay(4.2,22.5,"CAP",oFn1)
oPrn:CmSay(4.2,23.5,"PROV.",oFn1)
oPrn:CmSay(4.2, 24.5,"CARICA",oFn1)
oPrn:CmSay(4.2, 26.0,"TAGLIA",oFn1)
oPrn:CmSay(4.2, 28.0,"SEX",oFn1)
nCli:=0
nOpt=1
CursorWait()
(oDCli)->(DbGoTop())
DO WHILE !(oDCli)->(EoF())
IF (nOpt=1 .AND. AScan(oApp:oGrid:aSelected,(oDCli)->NumCli)<>0)
oPrn:CmSay(nRow, 1.5,(oDCli)->NumCli,oFn1,,,,2)
oPrn:CmSay(nRow, 2.4,DaiAtt((oDCli)->Attivita),oFn1,,,,2)
oPrn:CmSay(nRow, 2.8,DaiTipo((oDCli)->Tipo),oFn1,,,,2)
oPrn:CmSay(nRow, 3.0,(oDCli)->Nomeintero,oFn1, 8.7)
oPrn:CmSay(nRow,7.0,(oDCli)->Tessera,oFn1)
oPrn:CmSay(nRow,8.5,cf((oDCli)->Nascita),oFn1)
oPrn:CmSay(nRow,10.6,(oDCli)->Tel1,oFn1)
oPrn:CmSay(nRow,12.6,(oDCli)->Tel2,oFn1)
oPrn:CmSay(nRow,15.5,(oDCli)->Indirizzo,oFn1)
oPrn:CmSay(nRow,20.5,(oDCli)->Localita,oFn1)
oPrn:CmSay(nRow,22.5,(oDCli)->Cap,oFn1)
oPrn:CmSay(nRow,23.5,(oDCli)->Provincia,oFn1)
oPrn:CmSay(nRow,24.5,(oDCli)->Carica,oFn1)
oPrn:CmSay(nRow,26.0,(oDCli)->Taglia,oFn1)
oPrn:CmSay(nRow,28.0,(oDCli)->Sesso,oFn1)
nCli++
nRow+=0.4
IF nRow>=25.5
PageEnd()
PageBegin()
Title_WIN(oPrn,nHor,nVer,oFn1,oFn2,oFn3,cSTit,1,.F.,cForm)
oPrn:CmSay(4.2, 2.0,"NUM",oFn1,,,,2)
oPrn:CmSay(4.2, 2.7,"T",oFn1,,,,2)
oPrn:CmSay(4.2, 3.0,"NOMINATIVO",oFn1)
oPrn:CmSay(4.2, 7.0,"TESSERA",oFn1)
oPrn:CmSay(4.2, 8.5,"NASCITA",oFn1)
oPrn:CmSay(4.2,10.6,"TELEFONI",oFn1)
oPrn:CmSay(4.2,15.5,"INDIRIZZO",oFn1)
oPrn:CmSay(4.2,20.5,"LOCALITA'",oFn1)
oPrn:CmSay(4.2,22.5,"CAP",oFn1)
oPrn:CmSay(4.2,23.5,"PROV.",oFn1)
oPrn:CmSay(4.2, 24.5,"CARICA",oFn1)
oPrn:CmSay(4.2, 26.0,"TAGLIA",oFn1)
oPrn:CmSay(4.2, 28.0,"SEX",oFn1)
nRow:=4.9
ENDIF
ENDIF
(oDCli)->(DbSkip())
ENDDO
aDes:=oPrn:Cmtr2Pix(nRow+0.3, 1.0)
aHas:=oPrn:Cmtr2Pix(nRow+0.3,29.0)
oPrn:Line(aDes[1],aDes[2],aHas[1],aHas[2])
nRow+=.5
oPrn:CmSay(nRow,10.5, TRAN(nCli,"9999")+" Socio(i) in archivio",oFn1,,,,2)
aDes:=oPrn:Cmtr2Pix(nRow+0.4, 1.0)
aHas:=oPrn:Cmtr2Pix(nRow+0.4,29.0)
oPrn:Line(aDes[1],aDes[2],aHas[1],aHas[2])
nRow+=.5
oPrn:CmSay(nRow,15.5, " Legenda - Tipo (3# colonna) F = Fondatore O = Ordinario S = Sostenitore A = altro - Attivita' ( 2# colonna) D = Docente A = ATA S = Alunno G = Genitore E = Esterno ",oFn1,,,,2)
PageEnd()
oFn1:End(); oFn2:End(); oFn3:End()
PrintEnd()
(oDCli)->(DbGoTo(nRec))
* oBCli:Refresh()
RETURN (NIL)
[/code:3r4y5a9m]
la variabile n di Relacion(n)
mi serve per dare alla funzione l'indice corrente |
record selezionati | [code:2uve0941]#include "Fivewin.ch"
#include "XBrowse.ch"
FUNCTION MAIN()
LOCAL oDlg, oBrw
USE TEST
DEFINE DIALOG oDlg;
SIZE 800, 600
oBrw = TXBrowse():New( oDlg )
oBrw:SetRDD()
oBrw:nMarqueeStyle = MARQSTYLE_HIGHLROWMS
oBrw:bRClicked = { || WQOut( oBrw:aSelected ) }
oBrw:CreateFromCode()
ACTIVATE DIALOG oDlg;
ON INIT oDlg:SetControl( oBrw );
CENTER
RETURN NIL[/code:2uve0941]
EMG |
record selezionati | grazie forse ho risolto il problema . |
recordSet vs Hash | Buen día..
Para quienes tengan experiencia en este manejo, deseo conocer su experiencia en :
Ventajas y desventajas de un recordSet vs hash, para manejo de datos obtenidos con fw-sql (mysql o mariaDB ) ...
Requiero tomar esta decisión para implementar fw sql nativo ,,,, buscando tener seguridad frente a problemas de cierres repentinos o esporádicos de tablas dbf , como receptor de las consultas sql
Gracias
JONSSON RUSSI T. |
recordSet vs Hash | Hola Jonsson...
Realmente aunque tienen cosas en común son cosas muy diferentes.
El Hash es un tipo de dato de Harbour que sirve para contener datos que pueden ser accedidos por una clave, o sea es un par key, value optimizado para buscar un valor por su clave. Todo se mantiene en memoria y eso es algo a tener en cuenta, ya que si la información guarda es muy grande podríamos ocupar memoria necesaria para otros menesteres. Queda patenten que el mantenimiento de los datos del hash lo controla el propio programador ya que no existe una relación entre base de datos (tablas, vistas u otras) y el mismo, y por tanto no hay una sincronización
El recordSet es una clase encargada de contener un conjunto de datos devueltos por una sentencia SQL y eso ya nos da la primera pista, existe una relación directa entre la base de datos y recordSet y por lo tanto el mantenimiento del mismo tendrá un efecto inmediato en la base de datos incluso hay algunos recordSet que se actualizan si otro usuario hace cambios en la base de de datos. Los datos contenidos dentro del recordSet internamente pueden estar guardado en un array, hash o en una gestión del propio cliente de la base de datos...
Entonces, amigo mío, como todo en la vida, tienes que decidir según tus necesidades. Como decía el filósofo francés Jean-Paul Sartre la vida te presenta un abanico de posibilidades y estamos obligados a elegir una con lo que nos quedará al frustración de no poder elegir las demás. Por suerte para tí, podrás cambiar si no te gusta la que elijas incluso entre otras opciones que no son las que propones,,,
Espero haber aclarado en algo tus inquietudes,
<!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
recordSet vs Hash | Buena tarde, gracias por su aporte y en funcionalidad ya vi las bondades , ahora el tema de estabilidad, dado que el abandono de dbf, se debe a los cierres inesperados de dichas tablas, los recordset se soportan en memoria y en disco ? Podría pasar lo mismo que los dbf..gracias |
recordSet vs Hash | Todo eso está más superado en el mundo de las bases relacionales (SQL).
No vas a tener caídas de ningún tipo en MySQL, MaiaDB, SQLite, Postgres, etc.
Una vez que te hayas decidido dejar las DBF y entrar en el mundo SQL tienes que volver a elegir que base de datos vas a elegir y que CLASE vas a usar para acceder a los datos:
* HDO
* Las proporcionadas por FWH
* Las que proporciona Harbour
* Otras...
<!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
Saludos |
records disappear [solved] | Dear friends of the forum,
A customer reported me that some records in a .dbf just disappear.
Occupies 10 MB and has over 11,500 articles.
Works in single user, no network, with Windows 8.
The thing is, I have no idea why it happens. I check the DBF, I can open it and Idon´t get errors like corruption, etc, but the records are gone. I try to use a recall but they don´t appear.
Customer has´t done a PACK.
Has anyone experienced a problem like this?. It is very rare.
Thank you. Best regards |
records disappear [solved] | Who uses this table? |
records disappear [solved] | Just only one user in a sigle PC. No network used.
Thanks. |
records disappear [solved] | How do you know records where there.
Did you commit the input.
Windows restore point?
Best regards,
Otto |
records disappear [solved] | Hi!
This can happen if table header was corrupted. It is very important that all table must be closed when user end the program.
This was an experienced when DOS based app was closed by user by clicking the close button of DOS box and not the 'quit' button of the actual app.. (so upgraded to FWH)
My two cents. |
records disappear [solved] | I had that happen last week. A customer had an invoice open and went to print it. He was on a workstation. ( There are six files, plus 4 fpt and 6 cdx files open ). When he sent it to the printer, the system locked up. He went back in and the main invoice record ( in one file ) wasn't there. I checked ... it simply wasn't there The data in the other five files that tied to this record in the primary were all in place.
I've had people report this but thousands of these records are added each week at various sites, and I may get one record per every two months that just never gets saved. Its way to difficult to track or reproduce, and it is not even consistent to a particular site.
Tim |
records disappear [solved] | Thank you for the feedback.
It seems that is the Microsoft antivirus:
<!-- m --><a class="postlink" href="http://answers.microsoft.com/en-us/protect/forum/mse-protect_start/microsoft-security-essentials-causes-major/d367847c-0b4d-4dec-95da-fbd96ee73f17">http://answers.microsoft.com/en-us/prot ... d96ee73f17</a><!-- m -->
I am going to unisntall it and check what happens. |
records disappear [solved] | Lucas,
I repost my questions:
How do you know records where there.
Did you commit the input.
Windows restore Point?
Are these records at the end of the database are these old entries.
Sure you check the database with no index opened.
Best regards,
Otto |
records disappear [solved] | Otto,
>>How do you know records where there.
In previous backups they were.
>>Did you commit the input.
There is no network mode. Besides, before exiting I do:
[code=fw:2tfzbfod]<div class="fw" id="{CB}" style="font-family: monospace;"> DbCommitAll<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">// Guardamos datos</span><br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> DbCloseAll<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> ResAllFree<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #B900B9;">// Liberamos recursos</span><br /><br /> <span style="color: #B900B9;">//CheckRes()</span><br /><br /> QUIT<br /> </div>[/code:2tfzbfod]
>>Windows restore Point?
No.
>>Are these records at the end of the database are these old entries.
Old entries.
>>Sure you check the database with no index opened
Of course, with CDBF Viewer |
records disappear [solved] | Lucas,
do you use CDX.
This index has autoopen.
I am sure you know it.
Best regards,
Otto |
records disappear [solved] | Lucas,
is this WINDOWS 8 release version.
The preview Version since some days shuts down without warning every hour.
Best regards,
Otto |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.