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 />&nbsp; &nbsp;oQryLocal := ::<span style="color: #000000;">oCnx</span>:<span style="color: #000000;">QUERY</span><span style="color: #000000;">&#40;</span> AUXILIAR_ARBOL, <span style="color: #000000;">&#123;</span> ::<span style="color: #000000;">nIdcarpeta</span>, ::<span style="color: #000000;">nIdDanteCausa</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">IF</span> <span style="color: #000000;">&#40;</span> Len<span style="color: #000000;">&#40;</span>oQrylocal<span style="color: #000000;">&#41;</span> != <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;? <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;">&#40;</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">&#41;</span><br />oRs:<span style="color: #000000;">RecCount</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />oRs:<span style="color: #000000;">LastRec</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">&#41;</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;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span> cDow<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" "</span>+str<span style="color: #000000;">&#40;</span>day<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" de "</span> +cMonth<span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" "</span>+str<span style="color: #000000;">&#40;</span><span style="color: #0000ff;">year</span><span style="color: #000000;">&#40;</span>dDate<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp;</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;">&#40;</span>ncolor,cFondo<span style="color: #000000;">&#41;</span><br /><span style="color: #0000ff;">color</span><span style="color: #000000;">&#40;</span>nColor<span style="color: #000000;">&#41;</span><br />cls<br />retscreen<span style="color: #000000;">&#40;</span>cfondo<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span> <span style="color: #00C800;">nil</span><br />&nbsp;</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;">&#40;</span>PRG<span style="color: #000000;">&#41;</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;">&#40;</span>PRG<span style="color: #000000;">&#41;</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&#58;//docs&#46;google&#46;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;">&#40;</span>*.prg<span style="color: #000000;">&#41;</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;">&#40;</span>*.c<span style="color: #000000;">&#41;</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;">&#40;</span>*.obj<span style="color: #000000;">&#41;</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&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=xdevstudio&#46;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&#58;//code&#46;google&#46;com/p/fivewin-contributions/downloads/detail?name=wbrwline&#46;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;">&#40;</span>c<span style="color: #000000;">&#41;</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;">&#40;</span>c<span style="color: #000000;">&#41;</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 />&nbsp; &nbsp;#ifndef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">function</span> HB_DBG_VMSTKLCOUNT<span style="color: #000000;">&#40;</span> x <span style="color: #000000;">&#41;</span> ; &nbsp;<span style="color: #00C800;">return</span> __DBGVMSTKLCOUNT<span style="color: #000000;">&#40;</span> x <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">function</span> HB_DBG_VMPARLLIST<span style="color: #000000;">&#40;</span> x <span style="color: #000000;">&#41;</span> ; &nbsp; <span style="color: #00C800;">return</span> __DBGVMPARLLIST<span style="color: #000000;">&#40;</span> x <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">function</span> HB_DBG_VMVARLGET<span style="color: #000000;">&#40;</span> x, y <span style="color: #000000;">&#41;</span> ; <span style="color: #00C800;">return</span> __DBGVMVARLGET<span style="color: #000000;">&#40;</span> x, y <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">function</span> HB_DBG_VMVARSLEN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> ; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> __DBGVMVARSLEN<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;#endif<br />#endif<br />&nbsp;</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;">&#40;</span>c<span style="color: #000000;">&#41;</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 + &nbsp; &nbsp; &nbsp;<br />hbvm.lib + &nbsp; &nbsp; &nbsp; <br />gtwin.lib + <br />hblang.lib + &nbsp; &nbsp; <br />hbmacro.lib + &nbsp; &nbsp;<br />hbrdd.lib + &nbsp; &nbsp; &nbsp;<br />hbcpage.lib + <br />hbwin.lib + &nbsp; &nbsp; &nbsp; <br />rddntx.lib + &nbsp; <br />rddcdx.lib + &nbsp; <br />rddfpt.lib + &nbsp; <br />hbsix.lib + &nbsp; &nbsp;<br />hbcommon.lib + &nbsp; <br />hbpp.lib + &nbsp; &nbsp; &nbsp; <br />cw32.lib + &nbsp; &nbsp; <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;">&#40;</span>c<span style="color: #000000;">&#41;</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;">&#40;</span>c<span style="color: #000000;">&#41;</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 &nbsp; <span style="color: #B900B9;">// Link FiveWin generic Error Objects Generator</span><br /><br /><span style="color: #00D7D7;">#define</span> NTRIM<span style="color: #000000;">&#40;</span>n<span style="color: #000000;">&#41;</span> &nbsp; &nbsp;<span style="color: #000000;">&#40;</span> LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />#ifdef __CLIPPER__<br />&nbsp; &nbsp;<span style="color: #00D7D7;">#define</span> DLG_TITLE <span style="color: #ff0000;">"FiveWin: The CA-Clipper for Windows Library"</span><br />#else<br />&nbsp; &nbsp;#ifdef __HARBOUR__<br />&nbsp; &nbsp; &nbsp; <span style="color: #00D7D7;">#define</span> DLG_TITLE <span style="color: #ff0000;">"FiveWin for Harbour"</span><br />&nbsp; &nbsp; &nbsp; #command QUIT => <span style="color: #000000;">&#40;</span> PostQuitMessage<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, __Quit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; <span style="color: #00D7D7;">#define</span> DLG_TITLE <span style="color: #ff0000;">"FiveWin for Xbase++"</span><br />&nbsp; &nbsp;#endif<br />#endif<br /><br /><span style="color: #B900B9;">/*************<br />*&nbsp; &nbsp;ErrorSys()<br />*<br />*&nbsp; &nbsp;Note: &nbsp;automatically executes at startup<br />*/</span><br />proc ErrorSys<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; ErrorBlock<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> | e | ErrorDialog<span style="color: #000000;">&#40;</span> e <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span><br /><br />proc ErrorLink<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">return</span><br /><br /><br /><span style="color: #B900B9;">/*************<br />* &nbsp; ErrorDialog()<br />*/</span><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> ErrorDialog<span style="color: #000000;">&#40;</span> e <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// -> logical or quits App.</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg, oLbx, oFont<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> lRet &nbsp; &nbsp;<span style="color: #B900B9;">// if lRet == nil -> default action: QUIT</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> n, j, cMessage, aStack := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oSay, hLogo<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nButtons &nbsp;:= <span style="color: #000000;">1</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cErrorLog := <span style="color: #ff0000;">""</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> aVersions := GetVersion<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> aTasks<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> aRDDs, nTarget, uValue<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oOldError<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cRelation<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> lIsWinNT := IsWinNT<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// by default, division by zero yields zero</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">genCode</span> == EG_ZERODIV <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> <span style="color: #000000;">0</span><br />&nbsp; &nbsp;end<br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// for network open error, set NETERR() and subsystem default</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">genCode</span> == EG_OPEN .and. ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</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;">&#41;</span> .and. ;<br />&nbsp; &nbsp; &nbsp; &nbsp; e:<span style="color: #000000;">canDefault</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; NetErr<span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> .f. &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Warning: Exiting!</span><br />&nbsp; &nbsp;end<br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// for lock error during APPEND BLANK, set NETERR() and subsystem default</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">genCode</span> == EG_APPENDLOCK .and. e:<span style="color: #000000;">canDefault</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; NetErr<span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> .f. &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// OJO SALIDA</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> ProcName<span style="color: #000000;">&#40;</span> <span style="color: #000000;">7</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">10</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"ERRORDIALO"</span><br />&nbsp; &nbsp; &nbsp; SET RESOURCES <span style="color: #0000ff;">TO</span><br />&nbsp; &nbsp; &nbsp; ErrorLevel<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; QUIT<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;ErrorBlock<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span>|e| MsgStop<span style="color: #000000;">&#40;</span> ErrorMessage<span style="color: #000000;">&#40;</span>e<span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" from Errorsys, line:"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Str<span style="color: #000000;">&#40;</span> ProcLine<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, __quit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">"Application"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">"==========="</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Path and name: "</span> + GetModuleFileName<span style="color: #000000;">&#40;</span> GetInstance<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" (16 bits)"</span> + CRLF<br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" (32 bits)"</span> + CRLF<br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Size: "</span> + Transform<span style="color: #000000;">&#40;</span> FSize<span style="color: #000000;">&#40;</span> GetModuleFileName<span style="color: #000000;">&#40;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GetInstance<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">"9,999,999 bytes"</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; Max files handles permited: ( SetHandleCount() ) "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Str<span style="color: #000000;">&#40;</span> SetHandleCount<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Time from start: "</span> + TimeFromStart<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + CRLF<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Error occurred at: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DToC<span style="color: #000000;">&#40;</span> Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">", "</span> + Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + CRLF<br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// Error object analysis</span><br />&nbsp; &nbsp;cMessage &nbsp; = <span style="color: #ff0000;">" &nbsp; Error description: "</span> + ErrorMessage<span style="color: #000000;">&#40;</span> e <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += cMessage<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> ValType<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">Args</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"A"</span><br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; Args:"</span> + CRLF<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">Args</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; ["</span> + Str<span style="color: #000000;">&#40;</span> n, <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"] = "</span> + ValType<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">Args</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; "</span> + cValToChar<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">Args</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"Stack Calls"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">"==========="</span> + CRLF<br />&nbsp; &nbsp; &nbsp; n := <span style="color: #000000;">2</span> &nbsp; &nbsp;<span style="color: #B900B9;">// we don't disscard any info again !</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">while</span> <span style="color: #000000;">&#40;</span> n < <span style="color: #000000;">74</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span>ProcName<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AAdd<span style="color: #000000;">&#40;</span> aStack, <span style="color: #ff0000;">" &nbsp; Called from: "</span> + ProcFile<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" => "</span> + Trim<span style="color: #000000;">&#40;</span> ProcName<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"("</span> + NTRIM<span style="color: #000000;">&#40;</span> ProcLine<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">")"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += ATail<span style="color: #000000;">&#40;</span> aStack <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; n++<br />&nbsp; &nbsp; end<br /><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"System"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">"======"</span> + CRLF<br /><br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; CPU type: "</span> + GetCPU<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; CPU type: "</span> + GetCPU<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> GetCPUSpeed<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" Mhz"</span> + CRLF<br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Hardware memory: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cValToChar<span style="color: #000000;">&#40;</span> Int<span style="color: #000000;">&#40;</span> nExtMem<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> / <span style="color: #000000;">&#40;</span> <span style="color: #000000;">1024</span> * <span style="color: #000000;">1024</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" megs"</span> + CRLF + CRLF<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Free System resources: "</span> + AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> GetFreeSystemResources<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" %"</span> + CRLF + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp; &nbsp;GDI &nbsp; &nbsp;resources: "</span> + AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> GetFreeSystemResources<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" %"</span> + CRLF + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp; &nbsp;User &nbsp; resources: "</span> + AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> GetFreeSystemResources<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" %"</span> + CRLF + CRLF<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Compiler version: "</span> + Version<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + CRLF<br /><br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; Windows and MsDos versions: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"."</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">", "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"."</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF + CRLF<br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; Windows version: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"."</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">", Build "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">" "</span> + aVersions<span style="color: #000000;">&#91;</span> <span style="color: #000000;">5</span> <span style="color: #000000;">&#93;</span> + CRLF + CRLF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//línea 158 aquí tiene que ir [4] y cuando compilo da error en la línea 479</span><br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;aTasks = GetTasks<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Windows total applications running: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> Len<span style="color: #000000;">&#40;</span> aTasks <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp;<span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">&#40;</span> aTasks <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp;"</span> + Str<span style="color: #000000;">&#40;</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> + aTasks<span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> + CRLF<br />&nbsp; &nbsp;<span style="color: #00C800;">next</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// Warning!!! Keep here this code !!! Or we will be consuming GDI as</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">// we don't generate the error but we were generating the bitmap</span><br /><br />&nbsp; &nbsp;hLogo = FWBitMap<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> e:<span style="color: #000000;">canRetry</span><br />&nbsp; &nbsp; &nbsp; nButtons++<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> e:<span style="color: #000000;">canDefault</span><br />&nbsp; &nbsp; &nbsp; nButtons++<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"Variables in use"</span> + CRLF + <span style="color: #ff0000;">"================"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Procedure &nbsp; &nbsp; Type &nbsp; Value"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; =========================="</span> + CRLF<br /><br />&nbsp; &nbsp;n := <span style="color: #000000;">2</span> &nbsp; &nbsp;<span style="color: #B900B9;">// we don't disscard any info again !</span><br />&nbsp; &nbsp;<span style="color: #00C800;">while</span> <span style="color: #000000;">&#40;</span> n < <span style="color: #000000;">74</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> ProcName<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; "</span> + Trim<span style="color: #000000;">&#40;</span> ProcName<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">for</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> ParamCount<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; Param "</span> + Str<span style="color: #000000;">&#40;</span> j, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">": &nbsp; &nbsp;"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ValType<span style="color: #000000;">&#40;</span> GetParam<span style="color: #000000;">&#40;</span> n, j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; &nbsp;"</span> + cGetInfo<span style="color: #000000;">&#40;</span> GetParam<span style="color: #000000;">&#40;</span> n, j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">for</span> j = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> LocalCount<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; Local "</span> + Str<span style="color: #000000;">&#40;</span> j, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">": &nbsp; &nbsp;"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ValType<span style="color: #000000;">&#40;</span> GetLocal<span style="color: #000000;">&#40;</span> n, j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; &nbsp;"</span> + cGetInfo<span style="color: #000000;">&#40;</span> GetLocal<span style="color: #000000;">&#40;</span> n, j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp;n++<br />&nbsp; &nbsp;end<br /><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"Linked RDDs"</span> + CRLF + <span style="color: #ff0000;">"==========="</span> + CRLF<br />&nbsp; &nbsp;aRDDs = RddList<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">for</span> n = <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> Len<span style="color: #000000;">&#40;</span> aRDDs <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; "</span> + aRDDs<span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span> + CRLF<br />&nbsp; &nbsp;<span style="color: #00C800;">next</span><br /><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"DataBases in use"</span> + CRLF + <span style="color: #ff0000;">"================"</span> + CRLF<br />&nbsp; &nbsp;<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 />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += CRLF + Str<span style="color: #000000;">&#40;</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">": "</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Select</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> == n,<span style="color: #ff0000;">"=> "</span>, <span style="color: #ff0000;">" &nbsp; "</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PadR<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">15</span> <span style="color: #000000;">&#41;</span> + Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">20</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"RddName: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> RddName<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; =============================="</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF"</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp;"</span> + Transform<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> RecNo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">"9999999"</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;"</span> + Transform<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> RecCount<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #ff0000;">"9999999"</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;"</span> + cValToChar<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> BoF<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" &nbsp; "</span> + cValToChar<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> EoF<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + CRLF + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> RddName<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> != <span style="color: #ff0000;">"ARRAYRDD"</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; Indexes in use "</span> + Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">23</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">"TagName"</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> IndexKey<span style="color: #000000;">&#40;</span> j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cErrorLog += Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">8</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> IndexOrd<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> == j, <span style="color: #ff0000;">"=> "</span>, <span style="color: #ff0000;">" &nbsp; "</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PadR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> IndexKey<span style="color: #000000;">&#40;</span> j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">35</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> OrdName<span style="color: #000000;">&#40;</span> j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cErrorLog += CRLF + <span style="color: #ff0000;">" &nbsp; &nbsp; Relations in use"</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> ! Empty<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> nTarget := <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> DbRSelect<span style="color: #000000;">&#40;</span> j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cErrorLog += Space<span style="color: #000000;">&#40;</span> <span style="color: #000000;">8</span> <span style="color: #000000;">&#41;</span> + Str<span style="color: #000000;">&#40;</span> j <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">": "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"TO "</span> + <span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span> DbRelation<span style="color: #000000;">&#40;</span> j <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">" INTO "</span> + <span style="color: #0000ff;">Alias</span><span style="color: #000000;">&#40;</span> nTarget <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// uValue = ( Alias( n ) )->( DbRelation( j ) )</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// cErrorLog += cValToChar( &( uValue ) ) + CRLF</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">next</span><br /><br />&nbsp; &nbsp;n = <span style="color: #000000;">1</span><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"Classes in use:"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">"==============="</span> + CRLF<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;#ifndef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">while</span> ! Empty<span style="color: #000000;">&#40;</span> __ClassName<span style="color: #000000;">&#40;</span> n <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; "</span> + Str<span style="color: #000000;">&#40;</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> + __ClassName<span style="color: #000000;">&#40;</span> n++ <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; end<br />&nbsp; &nbsp;#else &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">while</span> n <= __ClsCntClasses<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; "</span> + Str<span style="color: #000000;">&#40;</span> n, <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" "</span> + __ClassName<span style="color: #000000;">&#40;</span> n++ <span style="color: #000000;">&#41;</span> + CRLF<br />&nbsp; &nbsp; &nbsp; end<br />&nbsp; &nbsp;#endif &nbsp; <br /><br />&nbsp; &nbsp;cErrorLog += CRLF + <span style="color: #ff0000;">"Memory Analysis"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"==============="</span> + CRLF<br /><br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; Static memory:"</span> + CRLF<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;data segment: 64k"</span> + CRLF<br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;Initial size: &nbsp; &nbsp; &nbsp; "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nInitDSSize<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" bytes &nbsp;(SYMP="</span> + LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nSymPSize<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">", Stack="</span> + LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nStackSize<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">", Heap="</span> + LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nHeapSize<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">")"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;PRG Stack: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> <span style="color: #000000;">65535</span> - <span style="color: #000000;">&#40;</span> nStatics<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">14</span> <span style="color: #000000;">&#41;</span> - nInitDSSize<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">" bytes"</span> + CRLF<br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;#ifdef __CLIPPER__<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;"</span> + LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nStatics<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" Static variables: "</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nStatics<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> * <span style="color: #000000;">14</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" bytes"</span> + CRLF + CRLF<br />&nbsp; &nbsp;#else<br />&nbsp; &nbsp; &nbsp; cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;"</span> + LTrim<span style="color: #000000;">&#40;</span> Str<span style="color: #000000;">&#40;</span> nStatics<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" Static variables"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CRLF + CRLF<br />&nbsp; &nbsp;#endif<br /><br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; Dynamic memory consume:"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;Actual &nbsp;Value: "</span> + Str<span style="color: #000000;">&#40;</span> MemUsed<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" bytes"</span> + CRLF<br />&nbsp; &nbsp;cErrorLog += <span style="color: #ff0000;">" &nbsp; &nbsp; &nbsp;Highest Value: "</span> + Str<span style="color: #000000;">&#40;</span> MemMax<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" bytes"</span> + CRLF<br />&nbsp; &nbsp;<span style="color: #B900B9;">// nSymNames() no longer returns a real value! 15/April/97</span><br />&nbsp; &nbsp;<span style="color: #B900B9;">/*<br />&nbsp; &nbsp;cErrorLog += " &nbsp; SYMBOLS segment" + CRLF<br />&nbsp; &nbsp;cErrorLog += " &nbsp; &nbsp; &nbsp;" + LTrim( Str( nSymNames() ) ) + " SymbolNames: &nbsp; " + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LTrim( Str( nSymNames() * 16 ) ) + " bytes"<br />&nbsp; &nbsp;*/</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// Generates a file with an Error Log</span><br /><br />&nbsp; &nbsp;BEGIN SEQUENCE<br />&nbsp; &nbsp; &nbsp; oOldError = ErrorBlock<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#123;</span> || DoBreak<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; MemoWrit<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Error.log"</span>, cErrorLog <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;END SEQUENCE<br />&nbsp; &nbsp;ErrorBlock<span style="color: #000000;">&#40;</span> oOldError <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; <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;">&#40;</span> lIsWinNT, <span style="color: #000000;">50</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">TITLE</span> DLG_TITLE<br /><br />&nbsp; &nbsp;@ <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;">&#40;</span> cMessage <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; <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 />&nbsp; &nbsp;oSay:<span style="color: #000000;">nStyle</span> &nbsp; = nOR<span style="color: #000000;">&#40;</span> oSay:<span style="color: #000000;">nStyle</span>, <span style="color: #000000;">128</span> <span style="color: #000000;">&#41;</span> &nbsp; <span style="color: #B900B9;">// SS_NOPREFIX</span><br />&nbsp; &nbsp;oSay:<span style="color: #000000;">nTop</span> &nbsp; &nbsp; = &nbsp; <span style="color: #000000;">3</span><br />&nbsp; &nbsp;oSay:<span style="color: #000000;">nLeft</span> &nbsp; &nbsp;= &nbsp;<span style="color: #000000;">22</span><br />&nbsp; &nbsp;oSay:<span style="color: #000000;">nBottom</span> &nbsp;= &nbsp;<span style="color: #000000;">25</span><br />&nbsp; &nbsp;oSay:<span style="color: #000000;">nRight</span> &nbsp; = <span style="color: #000000;">148</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">24</span>, &nbsp; <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 />&nbsp; &nbsp;n = aStack<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br /><br />&nbsp; &nbsp;@ <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 />&nbsp; &nbsp; &nbsp; <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;">&#40;</span> lIsWinNT, <span style="color: #000000;">18</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">PIXEL</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> nButtons == <span style="color: #000000;">1</span> .or. nButtons == <span style="color: #000000;">3</span><br />&nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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 />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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 />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> e:<span style="color: #000000;">CanRetry</span><br />&nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> nButtons == <span style="color: #000000;">2</span>, <span style="color: #000000;">82</span>, <span style="color: #000000;">13</span> <span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Retry"</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lRet &nbsp;:= .t., oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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 />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> e:<span style="color: #000000;">CanDefault</span><br />&nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">88</span> + <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> lIsWinNT, <span style="color: #000000;">24</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">108</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Default"</span> &nbsp;<span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> lRet &nbsp;:= .f., oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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 />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;@ <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 />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">47</span>, <span style="color: #000000;">10</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ACTION</span> WinExec<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Notepad.exe error.log"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> DrawBitmap<span style="color: #000000;">&#40;</span> hDC, hLogo, <span style="color: #000000;">6</span>, <span style="color: #000000;">6</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hLogo <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> lRet == <span style="color: #00C800;">nil</span> .or. <span style="color: #000000;">&#40;</span> !LWRunning<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> .and. lRet <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; SET RESOURCES <span style="color: #0000ff;">TO</span><br />&nbsp; &nbsp; &nbsp; ErrorLevel<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Add these lines if using MDI child windows with dialogboxes</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// for n = 1 to Len( GetAllWin() )</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// &nbsp; &nbsp;if ValType( GetAllWin()[ n ] ) == "O"</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// &nbsp; &nbsp; &nbsp; GetAllWin()[ n ]:UnLink()</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// &nbsp; &nbsp;endif &nbsp; </span><br />&nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// next &nbsp; </span><br />&nbsp; &nbsp; &nbsp; QUIT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// must be QUIT !!!</span><br />&nbsp; &nbsp;<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;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<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;">&#40;</span> e <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">// start error message</span><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> cMessage := <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> empty<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">OsCode</span> <span style="color: #000000;">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</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;">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"(DOS Error "</span> + NTRIM<span style="color: #000000;">&#40;</span>e:<span style="color: #000000;">osCode</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">") "</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">// add subsystem name if available</span><br />&nbsp; &nbsp; cMessage += <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ValType<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">SubSystem</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"C"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e:<span style="color: #000000;">SubSystem</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"???"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">// add subsystem's error code if available</span><br />&nbsp; &nbsp; cMessage += <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ValType<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">SubCode</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"N"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"/"</span> + NTRIM<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">SubCode</span> <span style="color: #000000;">&#41;</span> &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"/???"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #B900B9;">// add error description if available</span><br />&nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> ValType<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">Description</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"C"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; cMessage += <span style="color: #ff0000;">" &nbsp;"</span> + e:<span style="color: #000000;">Description</span><br />&nbsp; &nbsp; end<br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">// add either filename or operation</span><br />&nbsp; &nbsp; cMessage += <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> ! Empty<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">FileName</span> <span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">": "</span> + e:<span style="color: #000000;">FileName</span> &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span><span style="color: #000000;">&#40;</span> !Empty<span style="color: #000000;">&#40;</span> e:<span style="color: #000000;">Operation</span> <span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">": "</span> + e:<span style="color: #000000;">Operation</span> &nbsp; ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</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;">&#40;</span> uVal <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cType := ValType<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">do</span> <span style="color: #00C800;">case</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"C"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">return</span> <span style="color: #ff0000;">'"'</span> + cValToChar<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">'"'</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"O"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">return</span> <span style="color: #ff0000;">"Class: "</span> + uVal:<span style="color: #000000;">ClassName</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">case</span> cType == <span style="color: #ff0000;">"A"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">return</span> <span style="color: #ff0000;">"Len: "</span> + Str<span style="color: #000000;">&#40;</span> Len<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">otherwise</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">return</span> cValToChar<span style="color: #000000;">&#40;</span> uVal <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<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> &nbsp;HKEY_LOCAL_MACHINE &nbsp;<span style="color: #000000;">2147483650</span> &nbsp;<span style="color: #B900B9;">// 0x80000002</span><br /><br /><span style="color: #00C800;">function</span> GetCPU<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oReg := TReg32<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> HKEY_LOCAL_MACHINE,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.f. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cCpu := oReg:<span style="color: #0000ff;">Get</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ProcessorNameString"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oReg:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> cCpu<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />#ifdef __HARBOUR__<br />&nbsp; &nbsp;#ifndef __XHARBOUR__<br />&nbsp; &nbsp; &nbsp; REQUEST HB_GT_GUI<br />&nbsp; &nbsp; &nbsp; procedure HB_GTSYS<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> ; <span style="color: #00C800;">return</span><br />&nbsp; &nbsp; &nbsp; procedure HB_GT_GUI_DEFAULT<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> ; <span style="color: #00C800;">return</span> <br />&nbsp; &nbsp; &nbsp; procedure FW_GT ; <span style="color: #00C800;">return</span><br />&nbsp; &nbsp;#endif &nbsp; &nbsp;<br />#endif &nbsp; <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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />&nbsp;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">96</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">380</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">72</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\PDMENU.prg<br />Called <span style="color: #0000ff;">from</span> PREMENU<span style="color: #000000;">&#40;</span><span style="color: #000000;">260</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">1011</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">2022</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">218</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">&#40;</span><span style="color: #000000;">3250</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TWINDOW<span style="color: #000000;">&#40;</span><span style="color: #000000;">542</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">275</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">167</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">1011</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">2022</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">218</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">&#40;</span><span style="color: #000000;">3250</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TWINDOW<span style="color: #000000;">&#40;</span><span style="color: #000000;">542</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">275</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">167</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">1011</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">2022</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">218</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">&#40;</span><span style="color: #000000;">3250</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TWINDOW<span style="color: #000000;">&#40;</span><span style="color: #000000;">542</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">275</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">167</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">1011</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">2022</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">218</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> _FWH<span style="color: #000000;">&#40;</span><span style="color: #000000;">3250</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><br />Called <span style="color: #0000ff;">from</span> <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>TWINDOW<span style="color: #000000;">&#40;</span><span style="color: #000000;">542</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">0</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">275</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">167</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\MDIFRAME.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">98</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br />&nbsp;</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;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TWindow<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> aRect := GetCoors<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;::<span style="color: #000000;">nTop</span> &nbsp; &nbsp;= aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">nLeft</span> &nbsp; = aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">nBottom</span> = aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">nRight</span> &nbsp;= aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</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;">&#40;</span><span style="color: #000000;">1259</span><span style="color: #000000;">&#41;</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;">&#40;</span><span style="color: #000000;">89</span><span style="color: #000000;">&#41;</span> in c:\fwh1\classes\MSGBAR.prg<br />Called <span style="color: #0000ff;">from</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #000000;">104</span><span style="color: #000000;">&#41;</span> in E:\marescah\origen.prg<br />------------------------------------------------------------------------<br /><br />&nbsp;</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&#46;h> //#include <dos&#46;h> #include <hbApi&#46;h> typedef struct &#123; FARPROC farProc; // BYTE bType; // BYTE bReturn; // BYTE bParams; // BYTE bParam&#91; 15 &#93;; &#125; STRFUNC; //----------------------------------------------------------------------------// HARBOUR HB_FUN_CLSETROP2&#40;&#41; //&#40;hDll,Ctex&#41; &#123; hb_retni&#40; SetROP2&#40; &#40;HDC&#41; hb_parnl&#40;1&#41;, hb_parni&#40;2&#41;&#41; &#41;; &#125; [/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> &nbsp;<span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;">TBTNBMP</span>:_AGRADRECT<br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = O &nbsp; TBTNBMP<br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TBTNBMP:<span style="color: #000000;">ERROR</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">148</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>HBOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">77</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TBTNBMP:<span style="color: #000000;">MSGNOTFOUND</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: ../../../tobject.prg => TBTNBMP:_AGRADRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">142</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">14799</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">14735</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">14335</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">3084</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">2540</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">2166</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">1821</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">12003</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3560</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;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;">&#40;</span> <span style="color: #000000;">304</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => ERRORDIALOG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">448</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\<span style="color: #00C800;">function</span>\ERRSYSW.PRG => <span style="color: #000000;">&#40;</span>b<span style="color: #000000;">&#41;</span>ERRORSYS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">24</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> __ERRRT_SBASE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</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 />&nbsp; &nbsp;Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Work\Prg\fsdi2006\main.Exe <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<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 />&nbsp; &nbsp;Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">3.2</span>.0dev <span style="color: #000000;">&#40;</span>r1703231115<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;version: <span style="color: #000000;">FWH</span> <span style="color: #000000;">17.12</span><br />&nbsp; &nbsp;C compiler version: <span style="color: #000000;">Borland</span>/Embarcadero C++ <span style="color: #000000;">7.0</span> <span style="color: #000000;">&#40;</span><span style="color: #000000;">32</span>-bit<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7600</span> <br /><br />&nbsp; &nbsp;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 />&nbsp; &nbsp;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 />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">44</span> &nbsp;Assigned value is wrong <span style="color: #00C800;">class</span>: <span style="color: #000000;">TPANEL</span>:<span style="color: #000000;">LDRAG</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = N &nbsp; <span style="color: #000000;">16777215</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> TPANEL:_LDRAG<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\TPANEL.PRG => TPANEL:<span style="color: #00C800;">NEW</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">43</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">source</span>\pcustomer2.prg => BUILDEXPLORERBAR<span style="color: #000000;">&#40;</span> <span style="color: #000000;">174</span> <span style="color: #000000;">&#41;</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&#40; oWnd &#41; local oChild, oBrw DEFINE WINDOW oChild TITLE "MultiSelect browse" MDICHILD OF oWnd oBrw &#58;= TXBrowse&#40;&#41;&#58;New&#40; oChild &#41; oBrw&#58;nMarqueeStyle &#58;= MARQSTYLE_HIGHLROWMS oBrw&#58;SetRDD&#40;&#41; oBrw&#58;CreateFromCode&#40;&#41; oChild&#58;oClient &#58;= oBrw ACTIVATE WINDOW oChild ON INIT oBrw&#58;SetFocus&#40;&#41; 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&#40;cBmp,cCan&#41; // Marca LOCAL cRet&#58;="" cRet&#58;=IF&#40;&#40;oDCli&#41;->Status="B",cCan,cRet&#41; cRet&#58;=IF&#40;AScan&#40;oT&#58;aSel,&#40;oDCli&#41;->NumCli&#41;<>0,cBmp,cRet&#41; RETURN &#40;cRet&#41; [/code:2w5houe4] quando premevo f5 chiamavo questa funzione : [code:2w5houe4] STAT FUNC Seleziona&#40;&#41; // Seleziona registro LOCAL x&#58;=AScan&#40;oT&#58;aSel,&#40;oDCli&#41;->NumCli&#41; IF x<>0 ADel&#40;oT&#58;aSel,x&#41; ASize&#40;oT&#58;aSel,Len&#40;oT&#58;aSel&#41;-1&#41; ELSE AAdd&#40;oT&#58;aSel,&#40;oDCli&#41;->NumCli&#41; ENDIF oApp&#40;&#41;&#58;oGrid&#58;SetFocus&#40;&#41; RETURN &#40;NIL&#41; [/code:2w5houe4] e poi nella stampa usavo la variabili ot:asel per esempio [code:2w5houe4] CursorWait&#40;&#41; &#40;oDCli&#41;->&#40;DbGoTop&#40;&#41;&#41; DO WHILE !&#40;oDCli&#41;->&#40;EoF&#40;&#41;&#41; IF &#40;nOpt=1 &#46;AND&#46; AScan&#40;oT&#58;aSel,&#40;oDCli&#41;->NumCli&#41;<>0&#41; &#46;OR&#46; ; &#40;nOpt=2 &#46;AND&#46; &#40;oDCli&#41;->TipCli=cTip&#41; oPrn&#58;CmSay&#40;nRow, 2&#46;0,&#40;oDCli&#41;->RazSoc,oFn1, 8&#46;7&#41; oPrn&#58;CmSay&#40;nRow,11&#46;0,&#40;oDCli&#41;->NumCli,oFn1,,,,2&#41; oPrn&#58;CmSay&#40;nRow,12&#46;0,&#40;oDCli&#41;->EncCom,oFn1&#41; oPrn&#58;CmSay&#40;nRow,17&#46;5,&#40;oDCli&#41;->TelFi1,oFn1&#41; nCli++ nRow+=0&#46;4 &#46;&#46;&#46;&#46; [/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&#40;n&#41; LOCAL oPrn, oFn1, oFn2, oFn3, cSTit LOCAL aDes, aHas, nHor,nRow,cForm LOCAL nRec ,lPrv&#58;=&#46;t&#46; cSTit&#58;="ELENCO GENERALE SOCI AL "+cf&#40;Date&#40;&#41;&#41;+" "+ n cSTit&#58;=Alltrim&#40;cSTit&#41; nRec&#58;=&#40;oDCli&#41;->&#40;Recno&#40;&#41;&#41; oPrn&#58;=PrintBegin&#40;"Elenco Soci&#46;&#46;&#46;",&#46;F&#46;,lPrv,,&#46;T&#46;&#41; 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&#58;=Get_Form&#40;"101"&#41; * oPrn&#58;SetPortrait&#40;&#41; //verticale oPrn&#58;SetLandscape&#40;&#41; //verticale nHor&#58;=oPrn&#58;nHorzSize&#40;&#41; nVer&#58;=oPrn&#58;nVertSize&#40;&#41; nRow&#58;=4&#46;9 PageBegin&#40;&#41; CursorWait&#40;&#41; Title_WIN&#40;oPrn,nHor,nVer,oFn1,oFn2,oFn3,cSTit,1,&#46;T&#46;,cForm&#41; oPrn&#58;CmSay&#40;4&#46;2, 1&#46;5,"NUM",oFn1,,,,2&#41; oPrn&#58;CmSay&#40;4&#46;2, 2&#46;4,"A",oFn1,,,,2&#41; oPrn&#58;CmSay&#40;4&#46;2, 2&#46;7,"T",oFn1,,,,2&#41; oPrn&#58;CmSay&#40;4&#46;2, 3&#46;0,"NOMINATIVO",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 7&#46;0,"TESSERA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 8&#46;5,"NASCITA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,10&#46;6,"TELEFONI",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,15&#46;5,"INDIRIZZO",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,20&#46;5,"LOCALITA'",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,22&#46;5,"CAP",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,23&#46;5,"PROV&#46;",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 24&#46;5,"CARICA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 26&#46;0,"TAGLIA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 28&#46;0,"SEX",oFn1&#41; nCli&#58;=0 nOpt=1 CursorWait&#40;&#41; &#40;oDCli&#41;->&#40;DbGoTop&#40;&#41;&#41; DO WHILE !&#40;oDCli&#41;->&#40;EoF&#40;&#41;&#41; IF &#40;nOpt=1 &#46;AND&#46; AScan&#40;oApp&#58;oGrid&#58;aSelected,&#40;oDCli&#41;->NumCli&#41;<>0&#41; oPrn&#58;CmSay&#40;nRow, 1&#46;5,&#40;oDCli&#41;->NumCli,oFn1,,,,2&#41; oPrn&#58;CmSay&#40;nRow, 2&#46;4,DaiAtt&#40;&#40;oDCli&#41;->Attivita&#41;,oFn1,,,,2&#41; oPrn&#58;CmSay&#40;nRow, 2&#46;8,DaiTipo&#40;&#40;oDCli&#41;->Tipo&#41;,oFn1,,,,2&#41; oPrn&#58;CmSay&#40;nRow, 3&#46;0,&#40;oDCli&#41;->Nomeintero,oFn1, 8&#46;7&#41; oPrn&#58;CmSay&#40;nRow,7&#46;0,&#40;oDCli&#41;->Tessera,oFn1&#41; oPrn&#58;CmSay&#40;nRow,8&#46;5,cf&#40;&#40;oDCli&#41;->Nascita&#41;,oFn1&#41; oPrn&#58;CmSay&#40;nRow,10&#46;6,&#40;oDCli&#41;->Tel1,oFn1&#41; oPrn&#58;CmSay&#40;nRow,12&#46;6,&#40;oDCli&#41;->Tel2,oFn1&#41; oPrn&#58;CmSay&#40;nRow,15&#46;5,&#40;oDCli&#41;->Indirizzo,oFn1&#41; oPrn&#58;CmSay&#40;nRow,20&#46;5,&#40;oDCli&#41;->Localita,oFn1&#41; oPrn&#58;CmSay&#40;nRow,22&#46;5,&#40;oDCli&#41;->Cap,oFn1&#41; oPrn&#58;CmSay&#40;nRow,23&#46;5,&#40;oDCli&#41;->Provincia,oFn1&#41; oPrn&#58;CmSay&#40;nRow,24&#46;5,&#40;oDCli&#41;->Carica,oFn1&#41; oPrn&#58;CmSay&#40;nRow,26&#46;0,&#40;oDCli&#41;->Taglia,oFn1&#41; oPrn&#58;CmSay&#40;nRow,28&#46;0,&#40;oDCli&#41;->Sesso,oFn1&#41; nCli++ nRow+=0&#46;4 IF nRow>=25&#46;5 PageEnd&#40;&#41; PageBegin&#40;&#41; Title_WIN&#40;oPrn,nHor,nVer,oFn1,oFn2,oFn3,cSTit,1,&#46;F&#46;,cForm&#41; oPrn&#58;CmSay&#40;4&#46;2, 2&#46;0,"NUM",oFn1,,,,2&#41; oPrn&#58;CmSay&#40;4&#46;2, 2&#46;7,"T",oFn1,,,,2&#41; oPrn&#58;CmSay&#40;4&#46;2, 3&#46;0,"NOMINATIVO",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 7&#46;0,"TESSERA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 8&#46;5,"NASCITA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,10&#46;6,"TELEFONI",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,15&#46;5,"INDIRIZZO",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,20&#46;5,"LOCALITA'",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,22&#46;5,"CAP",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2,23&#46;5,"PROV&#46;",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 24&#46;5,"CARICA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 26&#46;0,"TAGLIA",oFn1&#41; oPrn&#58;CmSay&#40;4&#46;2, 28&#46;0,"SEX",oFn1&#41; nRow&#58;=4&#46;9 ENDIF ENDIF &#40;oDCli&#41;->&#40;DbSkip&#40;&#41;&#41; ENDDO aDes&#58;=oPrn&#58;Cmtr2Pix&#40;nRow+0&#46;3, 1&#46;0&#41; aHas&#58;=oPrn&#58;Cmtr2Pix&#40;nRow+0&#46;3,29&#46;0&#41; oPrn&#58;Line&#40;aDes&#91;1&#93;,aDes&#91;2&#93;,aHas&#91;1&#93;,aHas&#91;2&#93;&#41; nRow+=&#46;5 oPrn&#58;CmSay&#40;nRow,10&#46;5, TRAN&#40;nCli,"9999"&#41;+" Socio&#40;i&#41; in archivio",oFn1,,,,2&#41; aDes&#58;=oPrn&#58;Cmtr2Pix&#40;nRow+0&#46;4, 1&#46;0&#41; aHas&#58;=oPrn&#58;Cmtr2Pix&#40;nRow+0&#46;4,29&#46;0&#41; oPrn&#58;Line&#40;aDes&#91;1&#93;,aDes&#91;2&#93;,aHas&#91;1&#93;,aHas&#91;2&#93;&#41; nRow+=&#46;5 oPrn&#58;CmSay&#40;nRow,15&#46;5, " Legenda - Tipo &#40;3# colonna&#41; F = Fondatore O = Ordinario S = Sostenitore A = altro - Attivita' &#40; 2# colonna&#41; D = Docente A = ATA S = Alunno G = Genitore E = Esterno ",oFn1,,,,2&#41; PageEnd&#40;&#41; oFn1&#58;End&#40;&#41;; oFn2&#58;End&#40;&#41;; oFn3&#58;End&#40;&#41; PrintEnd&#40;&#41; &#40;oDCli&#41;->&#40;DbGoTo&#40;nRec&#41;&#41; * oBCli&#58;Refresh&#40;&#41; RETURN &#40;NIL&#41; [/code:3r4y5a9m] la variabile n di Relacion(n) mi serve per dare alla funzione l'indice corrente
record selezionati
[code:2uve0941]#include "Fivewin&#46;ch" #include "XBrowse&#46;ch" FUNCTION MAIN&#40;&#41; LOCAL oDlg, oBrw USE TEST DEFINE DIALOG oDlg; SIZE 800, 600 oBrw = TXBrowse&#40;&#41;&#58;New&#40; oDlg &#41; oBrw&#58;SetRDD&#40;&#41; oBrw&#58;nMarqueeStyle = MARQSTYLE_HIGHLROWMS oBrw&#58;bRClicked = &#123; || WQOut&#40; oBrw&#58;aSelected &#41; &#125; oBrw&#58;CreateFromCode&#40;&#41; ACTIVATE DIALOG oDlg; ON INIT oDlg&#58;SetControl&#40; oBrw &#41;; 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;"> &nbsp;DbCommitAll<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// Guardamos datos</span><br />&nbsp; &nbsp;SysRefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DbCloseAll<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;ResAllFree<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Liberamos recursos</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">//CheckRes()</span><br /><br />&nbsp; &nbsp;QUIT<br />&nbsp;</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