topic
stringlengths
1
63
text
stringlengths
1
577k
fwh october with xhb ?
Antonio RC 21 <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> Hopefully they have promised a stable build this week. I have it working now, thanks for your concern <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Richard
fwh sobre andorid
Alguien a podido ejecutar un sistema fwh sobre android? alguna sugerencia? gracias
fwh sobre andorid
ANDROID jeje sorry saludos
fwh sobre andorid
[url:12810car]http&#58;//code&#46;google&#46;com/p/fivedroid/[/url:12810car]
fwh to web page.
Is there a way to move a fw harbour program to a web based solution without having to start over and redo all the programing?
fwh y Tutilprn y Timprime TheFull
En mis aplicacion en Clipper + FW, venia utilizando la clases de TheFull para imprimir TUTILPRN y TIMPRIME.- Al pasar la aplicación a 32 bit no funciona. ¿Alguien se ha encontrado con este problema? Muchas gracias
fwh y Tutilprn y Timprime TheFull
Hola Manuel Estas exactamente en la misma situacion que tu servidor, no he podido echar andar esas estupendas clases en 32 bits, ojala un guru o el propio TheFull, nos apoyara en ese punto. Saludos
fwh y Tutilprn y Timprime TheFull
Raymundo, A mi me da error los Box.- Me dice "La aplicación GDI.EXE no es una imagen válida". ¿Que error te da a tí?. Le he enviado un email a Rafa Carmona, por si pudiera echarnos una mano.
fwh y Tutilprn y Timprime TheFull
Sip, parecido, al parecer se topa con alguna otra funcion RoundRect que existe en algun otro archivo y el que manda llamar al GDI.EXE, y entra en conflicto.
fwh y Tutilprn y Timprime TheFull
Raymundo, GDI (Graphic Device Interface) lo utiliza Windows para aplicaciones de 16 bit. Simplemente tiene que sustituir en la clase GDI.EXE por GDI32.DLL A mi, ya me funciona aunque ahora estoy peleando con SAYIMAGE.
fwh y Tutilprn y Timprime TheFull
Manuel, Puedes alojar esas clases en <!-- w --><a class="postlink" href="http://www.hyperupload.com">www.hyperupload.com</a><!-- w --> y proporcionar aqui el enlace de descarga ? gracias <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
fwh y Tutilprn y Timprime TheFull
[quote="Manuel Valdenebro":31mkpiod]Raymundo, A mi me da error los Box.- Me dice "La aplicación GDI.EXE no es una imagen válida". ¿Que error te da a tí?. Le he enviado un email a Rafa Carmona, por si pudiera echarnos una mano.[/quote:31mkpiod] Ya te envie las clases <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> para 32 bits. Seria cojonudo que Mister Antonio las incluyera como contrib en Fivewin, ¿Antonio ?, tienes mi total consentimiento, como siempre <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->, en coger lo que done a la comunidad y ponerlo en Fivewin. La solucion es la siguiente, en la clase TUtilPrn , poneis esto: ****************************************************************************** ****************************************************************************** #IFDEF __HARBOUR__ DLL FUNCTION RoundRect( hDC AS LONG, ; iLeft AS _INT , iTop AS _INT, ; iRight AS _INT, iBottom AS _INT, ; iWidth AS _INT, iHeight AS _INT ) AS BOOL PASCAL LIB "GDI32.DLL" #ELSE DLL FUNCTION RoundRect( hDC AS WORD, ; iLeft AS _INT , iTop AS _INT, ; iRight AS _INT, iBottom AS _INT, ; iWidth AS _INT, iHeight AS _INT ) AS BOOL PASCAL LIB "GDI.EXE" #ENDIF Seria interesante que Fivewin imlemente esta funcion, si no lo hace ya, porque de esto hace muchisimo tiempo <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Saludos Rafa Carmona
fwh y Tutilprn y Timprime TheFull
Muchas gracias Rafa. Aquí va el link para bajar las clases: <!-- m --><a class="postlink" href="http://hyperupload.com/download/02744eda18/timprime.rar.html">http://hyperupload.com/download/02744ed ... e.rar.html</a><!-- m -->
fwh y Tutilprn y Timprime TheFull
Muchas Gracias TheFull Agradezco mucho tu apoyo. Saludos
fwh y Tutilprn y Timprime TheFull
Gracias, Gracias: Estaba esperando esta clñase para 32 bits. Gracias TheFull Saludos Ruben Fernandez
fwh y Tutilprn y Timprime TheFull
Amigos : Peron la intromision y curiosidad, para que sirven estas clases? SALUDOS xHabrazos <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
fwh y Tutilprn y Timprime TheFull
Hola LAFUG Estas clases son para impresion, pero tiene algunas "cositas" extras muy, pero muy buenas <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> Te permite darle una apariencia diferente a tus reportes facil y rapido y sobre todo muy flexible !! Saludos
fwh y Tutilprn y Timprime TheFull
HOLA RAYMUNDO GRACIAS POR TU RESPUESTA VOY A PROBARLA <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> SALUDOS
fwh y Tutilprn y Timprime TheFull
Rafa, Todas las clases de contribuciones de usuarios las estamos poniendo en la sección "Utilities / Utilidades" de estos foros.
fwh y Tutilprn y Timprime TheFull
Manuel, Gracias!
fwh y Tutilprn y Timprime TheFull
Rafa, FWH proporciona la función RoundRect() en el modulo source\winapi\rects.c <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
fwh y Tutilprn y Timprime TheFull
Recordar que la clase Tutilprn usa Nview32lib y FHW usa, ahora, Freeimage. Por tanto, en 32 bit, da error al utilizar SayImage y PrintImage. Salvo Box (cajas redondeadas) que estoy intentando sustituir por RoundBox(), creo que la mayoria de las funciones de la clase Tutilprn, ya lo recoge FWH en las nuevas versiones.
fwh y Tutilprn y Timprime TheFull
[quote="Manuel Valdenebro":yti7k8qg]Recordar que la clase Tutilprn usa Nview32lib y FHW usa, ahora, Freeimage. Por tanto, en 32 bit, da error al utilizar SayImage y PrintImage. Salvo Box (cajas redondeadas) que estoy intentando sustituir por RoundBox(), creo que la mayoria de las funciones de la clase Tutilprn, ya lo recoge FWH en las nuevas versiones.[/quote:yti7k8qg] Joe, ¿ desde cuando Fivewin da soporte a Freeimage ? Me tengo que actualizar, pero no he visto que se haya echo dicho cambio, si asi fuese COJONUDO!!! Freeimage le da mil patadas a la nview32, que damos un monton de problemas.( imagenes grandes ) Si fuese asi, mirare de actualizarme mi version de Fivewin y como usa dichas clases para mi reportes, pues me tocara arreglar esa parte y no ROMPER el codigo con versiones antiguas de Fivewin que puedan usar Timprime/TUtilPrn
fwh y Tutilprn y Timprime TheFull
TheFull: Desde FWH 2.7 build de Marzo la FreeImage.Dll esta funcionado. Saludos Ruben Fernandez
fwh y Tutilprn y Timprime TheFull
[quote="thefull":uucbee1h][quote="Manuel Valdenebro":uucbee1h]Raymundo, A mi me da error los Box.- Me dice "La aplicación GDI.EXE no es una imagen válida". ¿Que error te da a tí?. Le he enviado un email a Rafa Carmona, por si pudiera echarnos una mano.[/quote:uucbee1h] Ya te envie las clases <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> para 32 bits. Seria cojonudo que Mister Antonio las incluyera como contrib en Fivewin, ¿Antonio ?, tienes mi total consentimiento, como siempre <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->, en coger lo que done a la comunidad y ponerlo en Fivewin. La solucion es la siguiente, en la clase TUtilPrn , poneis esto: ****************************************************************************** ****************************************************************************** #IFDEF __HARBOUR__ DLL FUNCTION RoundRect( hDC AS LONG, ; iLeft AS _INT , iTop AS _INT, ; iRight AS _INT, iBottom AS _INT, ; iWidth AS _INT, iHeight AS _INT ) AS BOOL PASCAL LIB "GDI32.DLL" #ELSE DLL FUNCTION RoundRect( hDC AS WORD, ; iLeft AS _INT , iTop AS _INT, ; iRight AS _INT, iBottom AS _INT, ; iWidth AS _INT, iHeight AS _INT ) AS BOOL PASCAL LIB "GDI.EXE" #ENDIF Seria interesante que Fivewin imlemente esta funcion, si no lo hace ya, porque de esto hace muchisimo tiempo <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s;-) --> Saludos Rafa Carmona[/quote:uucbee1h] Una consulta, en la version de 16 bits, utilizabamos esto: [quote:uucbee1h]// Rutinas de Impresión Gráfica por THEFULL. // Funciones habilitadas: // * Caja() // * Linea() // * SayBitMap() // * CajaRound() // * TrazoH() // * TrazoV() // ------------------------------------------------------------------------------------------- // /* Rev26.03.2000 Segunda Revision: Ahora le podemos pasar cualquier Pen para dibujar el Rectangulo redondeado Requiere incluir en el linkado el objeto DRAWING.OBJ */ // ------------------------------------------------------------------------------------------- //[/quote:uucbee1h] Esta clase que hablas ahora es la misma? perdón por la ignorancia. Gracias.
fwh y Tutilprn y Timprime TheFull
Gracias Manuel y Gracias Rafa!!!!! Por sus permanentes contribuciones.
fwh y Tutilprn y Timprime TheFull
Retomo este hilo para solicitar si alguien tiene algun/nos ejemplos de uso de las clases. Muchas gracias En esta Navidad pidamos por un mundo mas equitativo y en paz! Mis mejores augurios para el 2007
fwh y Tutilprn y Timprime TheFull
MarioG: En las clases que bajas ya vienen algunos ejemplos. Si aún así no se te aclara el panorama avisame que te envio uno de utilprn que es el único que uso. Saludos Ruben Fernandez.
fwh y Tutilprn y Timprime TheFull
Ruben baje de nuevo de la sección Utilidades, pero no trae ningún sample. Porfa mandame lo que usás para ver si se me aclara el panorama. En realidad es por el apuro, como siempre :-), que no me pongo a estudiar los fuentes. Que tengas una linda Navidad en familia y un muy buen 2007
fwh y Tutilprn y Timprime TheFull
MarioG Enviado. Espero te sirva para tener una idea. Saludos Ruben Fernandez.
fwh y linux
Alguien hizo funcionar un programa de hecho en fivewin harbour en wine?? Gracias
fwh y linux
Suelen funcionar perfectamente <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> (salvo que se use algo que no esté disponible en Linux, como "Word", etc.) Probado en Ubuntu con Wine.
fwh y linux
Yo tengo funcionando mi sistema con Wine, con ubunto, y si funciona bastante bien. Salvo como dice Antonio, lo de trabajar con Office, yo estoy tratando de levantar las hojas electrónicas .xls hechas con filexls y no lo he logrado hacer autormaticamente. Saludos. Carlos Sincuir
fwh y linux
Yo tengo mi sistema corriendo en fedora y va perfecto, mi sistema ataca a Mysql y Se porta Muchisssssimo mejor que en Windows...
fwh y linux
Otra pregrunta mis sitemas tienen un archivo ini que inicializa algunas variables para cada pc que pertenece al grupo de trabajo. Funcionan los ini o hay que hacerlo de otra manera. Gracias
fwh y linux
Los .ini trabajan muy bien, igual que tu, yo utilizo estos archivos para configurar cada pc. Y tambien se me olvido comentar que tambien utilizo MySQL para el almacenamiento de los datos y todo va muy bien. Saludos. Carlos Sincuir
fwh y linux
la pregunta es porque lo guardo en windows y lo llama con la función GetWinDir(), creamos un dir windows ?? Luis
fwh y linux
Nooooooooo, El wine crea e instala todo lo necesario... solo ejecuta y yap Ten en cuenta que en linux a los directorios tienes que darle permiso de lectura y escritura
fwh104 charrem ? *SOLVED*
hi, where i found this function charrem ? Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_HB_FUN_CHARREM' referenced from D:\_WK\32\FWH\LIB\FIVEHX.LIB|XBROWSE SOLUTION: ct.lib is needed for new versions of FWH.
fwh11.5 - FWH\samples\shtest.prg - error
FWH\samples\shtest.prg error: Lines 35, Functions/Procedures 1 Generating C source output to 'shtest.c'... Done. Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland shtest.c: Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_HB_FUN_SHEXITWINDOWS' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHRESTARTWINDOWS' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHABOUT' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHFILEPROPERTY' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHPRNPROPERTY' referenced from C:\FWH\SAMPLES\SHTEST.OBJ * Linking errors *
fwh11.5 - FWH\samples\shtest.prg - error
FWH\samples\shtest.prg error: Lines 35, Functions/Procedures 1 Generating C source output to 'shtest.c'... Done. Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland shtest.c: Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_HB_FUN_SHEXITWINDOWS' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHRESTARTWINDOWS' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHABOUT' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHFILEPROPERTY' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHPRNPROPERTY' referenced from C:\FWH\SAMPLES\SHTEST.OBJ * Linking errors *
fwh11.5 - FWH\samples\shtest.prg - error
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18814&start=0&hilit=SHPRNPROPERTY">viewtopic.php?f=3&t=18814&start=0&hilit=SHPRNPROPERTY</a><!-- l -->
fwh11.5 - FWH\samples\shtest.prg - error
Source code for some of those missing functions: This line is required in samples\buildh.bat: echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc [code=fw:ggetrof8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><span style="color: #00D7D7;">#include</span> <shlobj.h><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHRESTARTWINDOWS <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   hb_retnl<span style="color: #000000;">&#40;</span> RestartDialog<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDUMP</div>[/code:ggetrof8]
fwh11.5 - FWH\samples\shtest.prg - error
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=115381#p115381">viewtopic.php?p=115381#p115381</a><!-- l -->
fwh11.5 - FWH\samples\shtest.prg - error
[url:hicubzjz]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/bb776426(v=VS&#46;85)&#46;aspx[/url:hicubzjz]
fwh11.5 - FWH\samples\shtest.prg - error
Sr. Antonio, Utilizo XHARBOUR: buildx shtest Lines 35, Functions/Procedures 1 Generating C source output to 'SHTEST.c'... Done. Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland shtest.c: Warning W8075 SHTEST.prg 45: Suspicious pointer conversion in function HB_FUN_SHRESTARTWINDOWS Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_HB_FUN_SHEXITWINDOWS' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHABOUT' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHFILEPROPERTY' referenced from C:\FWH\SAMPLES\SHTEST.OBJ Error: Unresolved external '_HB_FUN_SHPRNPROPERTY' referenced from C:\FWH\SAMPLES\SHTEST.OBJ * Linking errors * buildx.bat: @ECHO OFF CLS ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ECHO ³ FiveWin for xHarbour 11.05 - May 2011 xHarbour development power ³Ü ECHO ³ (c) FiveTech, 1993-2011 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 ³Û ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß if A%1 == A GOTO :SINTAX if NOT EXIST %1.prg GOTO :NOEXIST ECHO Compiling... if "%FWDIR%" == "" set FWDIR=.\..\ if "%XHDIR%" == "" set XHDIR=c:\xharbour rem if "%2" == "/b" set GT=gtwin rem if not "%2" == "/b" set GT=gtgui set GT=gtgui set hdir=%XHDIR% set hdirl=%hdir%\lib set bcdir=c:\bcc582 set fwh=%FWDIR% %hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log IF ERRORLEVEL 1 GOTO COMPILEERRORS @type comp.log echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc %bcdir%\bin\bcc32 -M -c -v @b32.bc :ENDCOMPILE IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %1 echo %bcdir%\lib\c0w32.obj + > b32.bc echo %1.obj, + >> b32.bc echo %1.exe, + >> b32.bc echo %1.map, + >> b32.bc echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc echo %hdirl%\rtl.lib + >> b32.bc echo %hdirl%\vm.lib + >> b32.bc echo %hdirl%\%GT%.lib + >> b32.bc echo %hdirl%\lang.lib + >> b32.bc echo %hdirl%\macro.lib + >> b32.bc echo %hdirl%\rdd.lib + >> b32.bc echo %hdirl%\dbfntx.lib + >> b32.bc echo %hdirl%\dbfcdx.lib + >> b32.bc echo %hdirl%\dbffpt.lib + >> b32.bc echo %hdirl%\hbsix.lib + >> b32.bc echo %hdirl%\debug.lib + >> b32.bc echo %hdirl%\common.lib + >> b32.bc echo %hdirl%\pp.lib + >> b32.bc echo %hdirl%\pcrepos.lib + >> b32.bc echo %hdirl%\ct.lib + >> b32.bc echo %hdirl%\zlib.lib + >> b32.bc echo %hdirl%\hbzip.lib + >> b32.bc rem Uncomment these two lines to use Advantage RDD rem echo %hdir%\lib\rddads.lib + >> b32.bc rem echo %hdir%\lib\Ace32.lib + >> b32.bc echo %bcdir%\lib\cw32.lib + >> b32.bc echo %bcdir%\lib\import32.lib + >> b32.bc echo %bcdir%\lib\uuid.lib + >> b32.bc echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc echo %bcdir%\lib\psdk\iphlpapi.lib + >> b32.bc echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc echo %bcdir%\lib\psdk\shell32.lib, >> b32.bc IF EXIST %1.res echo %1.res >> b32.bc rem uncomment this line to use the debugger and comment the following one if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc IF ERRORLEVEL 1 GOTO LINKERROR if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc IF ERRORLEVEL 1 GOTO LINKERROR ECHO * Application successfully built * %1 GOTO EXIT ECHO rem delete temporary files @del %1.c :COMPILEERRORS @type comp.log ECHO * Compile errors * GOTO EXIT :LINKERROR ECHO * Linking errors * GOTO EXIT :SINTAX ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG ECHO {-- Don't specify .PRG extension GOTO EXIT :NOEXIST ECHO The specified PRG %1 does not exist :EXIT
fwh11.5 - FWH\samples\shtest.prg - error
Sr. Antonio ?
fwh11.5 - FWH\samples\shtest.prg - error
Sr. Antonio: Lines 35, Functions/Procedures 1 Generating C source output to 'shtest.c'... Done. Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland shtest.c: Warning W8075 shtest.prg 47: Suspicious pointer conversion in function HB_FUN_SHRESTARTWINDOWS Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Fatal: Too many commas on command line: * Linking errors * // Just for FW 32 bits [code=fw:2mus7bxp]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oDlg<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> cPrinter := GetProfString<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"windows"</span>, <span style="color: #ff0000;">"device"</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;cPrinter = <span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span> cPrinter, <span style="color: #000000;">1</span>, <span style="color: #00C800;">At</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">","</span>, cPrinter <span style="color: #000000;">&#41;</span> - <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Shell Common Dialogs"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">300</span>, <span style="color: #000000;">250</span> <span style="color: #0000ff;">PIXEL</span><br /><br />&nbsp; &nbsp; @ <span style="color: #000000;">10</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Exit Windows"</span> <span style="color: #0000ff;">ACTION</span> SHExitWindows<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">PIXEL</span><br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">30</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Restart Windows"</span> <span style="color: #0000ff;">ACTION</span> SHRestartWindows<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">hWnd</span>, <span style="color: #ff0000;">"FiveTech Software"</span> + CRLF + CRLF <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">PIXEL</span><br /><br />&nbsp; &nbsp; @ <span style="color: #000000;">50</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Shell About"</span> <span style="color: #0000ff;">ACTION</span> SHAbout<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">hWnd</span>, <span style="color: #ff0000;">"FW/FWH/FW++/FWC3/FWPPC"</span>, <span style="color: #ff0000;">"www.Fivetechsoft.com"</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">PIXEL</span><br /><br />&nbsp; &nbsp; @ <span style="color: #000000;">70</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&File Property"</span> <span style="color: #0000ff;">ACTION</span> SHFileProperty<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">hWnd</span>, <span style="color: #ff0000;">"shtest.exe"</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">PIXEL</span><br /><br />&nbsp; &nbsp; @ <span style="color: #000000;">90</span>, <span style="color: #000000;">25</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"&Print Property"</span> <span style="color: #0000ff;">ACTION</span> SHPrnProperty<span style="color: #000000;">&#40;</span> oDlg:<span style="color: #000000;">hWnd</span>, cPrinter <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">15</span> <span style="color: #0000ff;">PIXEL</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 /><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;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><span style="color: #00D7D7;">#include</span> <shlobj.h><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><br /><span style="color: #00D7D7;">#define</span> SHTDN_REASON_MAJOR_APPLICATION 0x00040000<br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHRESTARTWINDOWS <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;hb_retnl<span style="color: #000000;">&#40;</span> RestartDialog<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHEXITWINDOWS <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;hb_retl<span style="color: #000000;">&#40;</span> ExitWindowsEx<span style="color: #000000;">&#40;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, hb_parnl<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>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHABOUT <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;hb_retnl<span style="color: #000000;">&#40;</span> ShellAbout<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span> HICON <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDUMP</div>[/code:2mus7bxp]
fwh11.5 - FWH\samples\shtest.prg - error
[code=fw:cayxd70s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHEXITWINDOWS <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   hb_retl<span style="color: #000000;">&#40;</span> ExitWindowsEx<span style="color: #000000;">&#40;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, hb_parnl<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>;<br /><span style="color: #000000;">&#125;</span></div>[/code:cayxd70s] function ShExitWindows( nFlags, nReason ) --> lSuccess nFlags and nReason values are described here: [url:cayxd70s]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/aa376868(v=VS&#46;85)&#46;aspx[/url:cayxd70s]
fwh11.5 - FWH\samples\shtest.prg - error
[code=fw:3c50daqy]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHABOUT <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />   hb_retnl<span style="color: #000000;">&#40;</span> ShellAbout<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span>, hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">&#40;</span> HICON <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br /> </div>[/code:3c50daqy] [url:3c50daqy]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/bb762152(v=vs&#46;85)&#46;aspx[/url:3c50daqy]
fwh11.5 - FWH\samples\shtest.prg - error
Hello [code=fw:2qm3vnih]<div class="fw" id="{CB}" style="font-family: monospace;"><br />WCHAR * AnsiToWide<span style="color: #000000;">&#40;</span> const char * <span style="color: #000000;">&#41;</span>;<br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> SHRESTARTWINDOWS <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;WCHAR *pW = AnsiToWide<span style="color: #000000;">&#40;</span> hb_parc<span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp;hb_retnl<span style="color: #000000;">&#40;</span> RestartDialog<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#40;</span> HWND <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>, pW, hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp;hb_xfree<span style="color: #000000;">&#40;</span> pW <span style="color: #000000;">&#41;</span>;<br /><span style="color: #000000;">&#125;</span><br />&nbsp;</div>[/code:2qm3vnih]
fwh11.5 - FWH\samples\shtest.prg - error
Daniel, Continua me gerando erro
fwh1307 - Unresolved external '__pcre_version'
Executando: c:\BCC582\bin\ilink32.exe @C:\DOCUME~1\PROGRA~1\CONFIG~1\Temp\maker_4t43g1.lnk O processo retornou 2 ---- STDOUT ---- Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '__pcre_version' referenced from C:\BCC582\LIB\CW32.LIB|_pver
fwh1307 - Unresolved external '__pcre_version'
Não tem falta a PCREPOS.LIB ?
fwh1307 - Unresolved external '__pcre_version'
obrigado
fwh25
Hola grupo tengo el siguiente problema, estoy pasando una aplicación de 16 bits a 32, se ejecuta pero en algunas pantallas me da ejemplo: Error description: Error FiveWin/1 Non defined Id: No: 126 el cual está declarado de la siguiente forma: LOCAL oPla LOCAL cPla := "Contado" local aplazos := {"Contado","7 Días f/f","7 Días c/val","10 Días", "10 Días C/Val","15 Días","15 Días C/val","21 Días f/f","21 Días c/val",; "60 Días f/f","60 Días c/val"} //// REDEFINE COMBOBOX oPla VAR cPla id 126 items aPlazos of oDlgcli y en el Rc está bien el id que le designe, es decir (126), pero me lo hace en varias rutinas. Tengo un programa hecho en FWH25 y no me ocurrió esto que les relato. Otra cuestión es que no me muestra los bitmaps cuando utilizo BTNBMP en el recurso utilizó las fwctrls y uso el Tbtnbmp REDEFINE BTNBMP oNbut[4] id 105 of oDlg resource "btnborra","btnborr1" ACTION DelClient( oLbx,oMae,oMae:nape) NOBORDER Desde ya muchas gracias Luis
fwh25
Luis, Muéstranos la parte del RC en donde tienes definida esa caja de diálogo.
fwh25
Aquí envío el rc en txt DIA_CLIF1 DIALOG 46, 43, 255, 290 STYLE 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX FONT 8, "MS Sans Serif" { EDITTEXT 106, 47, 3, 36, 11, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 107, 47, 17, 149, 12 EDITTEXT 108, 46, 33, 137, 12 EDITTEXT 109, 46, 47, 122, 12 EDITTEXT 118, 212, 47, 31, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 120, 46, 61, 116, 12 COMBOBOX 110, 46, 75, 102, 33, CBS_DROPDOWNLIST | WS_TABSTOP EDITTEXT 119, 207, 75, 36, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 111, 46, 92, 105, 13 EDITTEXT 129, 207, 92, 36, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 113, 38, 152, 82, 12 COMBOBOX 116, 167, 150, 86, 58, CBS_DROPDOWNLIST | WS_TABSTOP EDITTEXT 114, 37, 169, 56, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 115, 98, 184, 46, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP EDITTEXT 117, 45, 201, 31, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP COMBOBOX 126, 72, 237, 100, 33, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_TABSTOP PUSHBUTTON "&Aceptar", 104, 8, 264, 54, 14 PUSHBUTTON "&Salir ", 105, 68, 264, 54, 14 PUSHBUTTON "&Cta Cte", 122, 128, 264, 54, 14 PUSHBUTTON "&Datos", 123, 188, 264, 54, 14 CHECKBOX "Incobrable:", 103, 6, 120, 52, 10, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP PUSHBUTTON "Transportes", 121, 186, 195, 56, 11 LTEXT "Codigo:", -1, 6, 5, 30, 10 LTEXT "Razón Social:", -1, 6, 22, 29, 8 LTEXT "Domicilio:", -1, 6, 37, 30, 10 LTEXT "C. Postal:", -1, 176, 50, 33, 10 LTEXT "Localidad:", -1, 6, 54, 35, 10 LTEXT "Provincia:", -1, 6, 86, 35, 10 LTEXT "Cedronar:", -1, 175, 77, 32, 10 LTEXT "Rubro:", -1, 6, 103, 26, 10 LTEXT "Cuit:", -1, 6, 154, 17, 10 LTEXT "Condición:", -1, 128, 153, 32, 10 LTEXT "Saldo:", -1, 6, 171, 23, 10 LTEXT "Último promedio de pago:", -1, 6, 188, 84, 10 LTEXT "días", -1, 149, 186, 15, 8 LTEXT "Vendedor:", -1, 6, 205, 35, 10 LTEXT "Teléfono:", -1, 6, 71, 34, 8 CHECKBOX "Exento Ingresos Brutos:", 124, 6, 137, 87, 10, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP CHECKBOX "Factura en dólares:", 125, 127, 133, 84, 10, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP LTEXT "Condición de pago:", -1, 6, 239, 65, 10 PUSHBUTTON "Agre&gar direcciones", 127, 180, 237, 71, 14 CHECKBOX "Bloquear remito", 112, 128, 117, 73, 10, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP EDITTEXT 128, 68, 219, 87, 12, ES_RIGHT | WS_BORDER | WS_TABSTOP LTEXT "Atiende por T.E. :", -1, 6, 222, 59, 10 LTEXT "Vto Cedronar:", -1, 163, 94, 44, 10 } Gracias por tu atención Luis
fwh25
Aclaro que el id 126 estaba como el id 110 y lo cambié basasdo en otro programa que está funcionando en fwh25, por eso la diferencia de declaración Luis
fwh25
Luis, El RC parece correcto, no debería fallar. Funciona a veces ó falla siempre ?
fwh25
Antonio, recién empezé a pasarlo, y me da esa falla en ese diálogo y en otros tantos siempre con la misma descripción del error, la pantalla principal y el browse desde el cual llamo a las rutinas, funcionan bien sólo no me muestran los botones con los bitmaps, pero eso de momento no me preocupa ya le encontraré la solución. Me falla cada vez que pruebo esta rutina y las de proveedores, productos, vendedores, etc. Que no son iguales a esta pero muy parecidas. Estaba pensando en generar el rc nuevamente, ya que este que utilizço es el mismo que en 16bits, solo que en aquel lo uso como dll y lo pasè a rc, quizàs sea ese el problema? Me da bronca estar trabado aquí, ya que el programa es bastante extenso. Gracias por tu atención
fwh25
Luis, Fijate bien que el ID que vayas a redefinir esté en diálogo que usas, y que no te confundas de diálogo. No debe fallar.
fwh25
Bueno al final el problema era que estaba declarando que el recurso era una dll y en verdad era un rc. Me fijé en la anterior compilación y descubrí el error. Gracias Antonio Luis
fwh26
Hasta que versión de xharbour puedo usar, actualmente utilizo la versión 99.61. Y en caso de poder utilizar mas nuevas, hay en alguna página el xharbour mas convenienteLuis
fwh26
Luis,En <!-- m --><a class="postlink" href="http://forums.fivetechsoft.com/viewtopic.php?t=2486">http://forums.fivetechsoft.com/viewtopic.php?t=2486</a><!-- m --> tienes los builds de Harbour/xHarbour que hemos publicado, catalogados por fechas.
fwh26
Gracias AntonioLuis
fwh64
Hola: ¿Alguien lo está usando?. ¿Qué tal es la conversión de FWH32 bits a FWH64?. Muchas gracias. Salu2
fwh64
Moises, > ¿Alguien lo está usando? Tiene pocos usuarios por el momento > ¿Qué tal es la conversión de FWH32 bits a FWH64?. Transparente <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Realmente es inmediata. Es construir con Harbour 64 bits y FWH 64 bits y listo. Sólo unos pequeños detalles, en el archivo de themes.xp y poco más. Si tienes funciones en C, probarlas para asegurarte que no tengas algún problema de signos ó que uses valores que puedan salirse de rango. El problema de los 64 bits es que no funcionan en máquinas de 32 bits, y claro, se restringe el ámbito en donde funcionan las aplicaciones. Pero por lo demás, las aplicaciones en 64 bits son ligeramente más rápidas que en 32 bits y además no precisan de capa de emulación en 64 bits, igual que ocurre con las aplicaciones de 16 bits al funcionar sobre 32 bits (la capa conocida como "wow": "Windows on Windows")
fwh7.11 errorsysw
Antonio , At line 357 i see : [code:1p0v2tmz] if lRet == nil &#46;or&#46; &#40; !LWRunning&#40;&#41; &#46;and&#46; lRet &#41; SET RESOURCES TO ErrorLevel&#40; 1 &#41; // Add these lines if using MDI child windows with dialogboxes // for n = 1 to Len&#40; GetAllWin&#40;&#41; &#41; // if ValType&#40; GetAllWin&#40;&#41;&#91; n &#93; &#41; == "O" // GetAllWin&#40;&#41;&#91; n &#93;&#58;UnLink&#40;&#41; // endif // next QUIT // must be QUIT !!! endif [/code:1p0v2tmz] Why are this lines not automatic included ? I suppose that when no MDI child windows are used len(GetAllWin()) = 0 ? It has no sense that we have to check the source to make changes for our aplication Are MDI child windows with dialogboxes constructions as : [code:1p0v2tmz] DEFINE WINDOW oWndChild MDICHILD OF oWnd DEFINE DIALOG oDlg RESOURCE "TESTXbrowse" OF oWndChild [/code:1p0v2tmz] I don't use this contruction anymore , but i have a MDI window with [code:1p0v2tmz] DEFINE DIALOG oDlg RESOURCE "TESTXbrowse" OF oWnd [/code:1p0v2tmz] What i have to do in this case ? Frank
fwh7.11 errorsysw
Frank, > Are MDI child windows with dialogboxes constructions as : [code:2qwsqzoe] DEFINE WINDOW oWndChild MDICHILD OF oWnd DEFINE DIALOG oDlg RESOURCE "TESTXbrowse" OF oWndChild [/code:2qwsqzoe] > Yes, > I don't use this contruction anymore , but i have a MDI window with [code:2qwsqzoe] DEFINE DIALOG oDlg RESOURCE "TESTXbrowse" OF oWnd [/code:2qwsqzoe] What i have to do in this case ? > Nothing, that code is fine We left that code there to be used on some circumstances where embedded dialogboxes are not properly destroyed
fwh7.12 : Print preview problem
Antonio, In 21-11 i reported a print problem, probably with the preview dialog when a MDI dialog as main dialog is used. I tested it with the last 7.12 : IT IS NOT SOLVED !!!! Frank
fwh7.12 : Print preview problem
Making some more tests : The preview window is behind the program window , it can not be set first. It is possible to set it normal (not maximized) , and then drag and drop it on a second monitor. Placing it back on the first monitor , it is hided after the program window. Frank
fwh7.12 : Print preview problem
Frank, If your main window is MDI then the preview will show as a MDICHILD child unless you remove the MDICHILD clause from source\classes\rpreview.prg
fwh7.12 : Print preview problem
Frank If you are calling your print routine from MDI .. you can use this to keep the previewer from running off. oPRINT:lPrvModal:= .T. Just plug this in after you define your printer object. Hope this helps Rick Lipkin
fwh7.12 : Print preview problem
Antonio If you are sugesting that what i described is only possible when i changed rpreview.prg : this is not true I use the library from fwh , repreview.prg is dated from 2/11/2007 Frank
fwh7.12 : Print preview problem
Frank, You have to use rpreview.prg from FWH 7.10 or remove MDICHILD clause from inside FWH 7.11-12 rpreview.prg We are planning to provide a parameter to avoid the creation of a MDICHILD for the print preview if the main window is MDI, as it may bring troubles when dialogboxes are in use
fwh7.12 : Print preview problem
Hello, I have upgraded to FWH 8.01 with LIBs dated 12/30/2007 and I have the same problems with print preview displayed behind dialog. What is the workaround to get this corrected.
fwh712 btnget - tget.prg- bkeydown error
Hi, Input chars to btnget, call from Tget.prg, METHOD KeyDown( nKey, nFlags ) CLASS TGet add the lines compare to v7.11 if ::bKeyDown != nil if Eval( ::bKeyDown, nKey, nFlags, Self ) == 0 //Runtime Error description: Error BASE/1070 Argument error: == return 0 endif endif Best Regards! Shuming Wang
fwh712 btnget - tget.prg- bkeydown error
Shuming, You have to modify bKeyDown in BtnGet so it returns nil or a number
fwh712 btnget - tget.prg- bkeydown error
Antonio, Done. Thanks ! Shuming Wang
fwh712-801 +harbour 1.1( from fivetech) app crash?
Hi, Someone meets the problem? Sometimes the dialogs get hangup or screen disordered ,controls include 2007 look xbrowse ,buttons,get dialogs. [url=http&#58;//img404&#46;imageshack&#46;us/my&#46;php?image=hangsr0&#46;jpg:yydn1w1x][img:yydn1w1x]http&#58;//img404&#46;imageshack&#46;us/img404/1097/hangsr0&#46;th&#46;jpg[/img:yydn1w1x][/url:yydn1w1x] Before ,we used xharbour 996+fwh2.5 without the problems. Is there a way to detect which resource not released? Off topic, where could upload jpg picture ? Best regards! Shuming Wang
fwh712-801 +harbour 1.1( from fivetech) app crash?
Shuming, Please use <!-- w --><a class="postlink" href="http://www.imageshack.us">www.imageshack.us</a><!-- w --> to upload the screenshots and copy here the provided URLs to see them. No one else has reported those problems about 7.12, or 8.01. Please provide a sample to reproduce them, thanks
fwh712-801 +harbour 1.1( from fivetech) app crash?
Antonio, Open a dialog with buttons,gets, after close, the windows task manage table shows the memory not released. A xbrowse(dbf,tmysql or array data type), page up will cause memory used increase, While page down,up and down do not increase memory used. It seems that releaseDC() function do not work. Harbour 1.1+fwh 801 Best regards! Shuming Wang
fwh712-801 +harbour 1.1( from fivetech) app crash?
Shuming, Could you please check it with fwh\samples\TestXBrw.prg and check if you also have problems with it ? thanks
fwh712-801 +harbour 1.1( from fivetech) app crash?
Shuming, You may also use this: <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?p=46984">http://fivetechsoft.com/forums/viewtopic.php?p=46984</a><!-- m --> Review Patrizio's explanation about MSDN GDIndicator e GDIUsage
fwh712-801 +harbour 1.1( from fivetech) app crash?
Antonio, 1.Sorry by my mistake removed a line DeleteObject( hBrush ) in method paintheader(), caused resource not released. 2.method paintheader() if Empty( cHeader ) ::oBrw:ReleaseDC() return nil endif should change into if Empty( cHeader ) if lOwnDC;::oBrw:ReleaseDC(); end return nil endif 3. method box() add ::obrw:releaseDC() 4. dialog.prg add METHOD UPDATE() inline ::aEvalWhen(),super:UPDATE() to update controls lwhen Regards! Shuming Wang
fwh8.02 + tactivex melhorada
Sr. Antonio, quem utiliza fwh8.02 pode usar esta classe tactivex melhorada? <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=15314">viewtopic.php?f=3&t=15314</a><!-- l -->
fwh8.02 + tactivex melhorada
Boa noite, Eu uso com fwh701 e esta funcionando muito bem. []`s
fwh802 alterar classes não funciona!
Antonio, anexo ao meu projeto(xmate) por exemplo a TDOSPRN modificada, mais o FWH assume a classe original. Tenho que fazer alguma configuração ou tenho que sempre recompilar a lib do FWH usando o HARB2LIB? Grato
fwh802 alterar classes não funciona!
UP!
fwh802 alterar classes não funciona!
[quote="SGS":3jihyrj4]Antonio, anexo ao meu projeto(xmate) por exemplo a TDOSPRN modificada, mais o FWH assume a classe original. Tenho que fazer alguma configuração ou tenho que sempre recompilar a lib do FWH usando o HARB2LIB? Grato[/quote:3jihyrj4] NÃO PRECISA RECOMPILAR A FIVEHX.LIB, BASTA INCORPORAR CORRETAMENTE A CLASSE MODIFICADA AO SEU PROJETO. CLASSES DE TERCEIROS, NÃO PERTENCEM A FIVEHX.LIB, SOMENTE AS CLASSES BY ANTONIO LINARES.
fwh802 alterar classes não funciona!
Karinha, me desculpe a franqueza mais vc não fala nada com nada e ainda acusa as pessoas, a TDOSPRN tem alterações minhas, por isso gostaria de compilar ela, que pertence ao FWH. O que estou querendo saber é se tem alguma configuração para que ao anexar a minha TDOS no projeto ele assuma ela e não a original. Obrigado.
fwh802 alterar classes não funciona!
Olá SCS, Não uso o xMate, mas vc precisa colocar no seu projeto a TDosPrn antes das libs do FW, tive um problema parecido com a xDev no Vista, então eu prefiro usar meus Morceguinhos (BAT) e Lnk <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
fwh802 alterar classes não funciona!
Vagner, muito obrigado pela resposta...exatamente o que eu queria saber. Muito obrigado!
fwh9_06
Hi all, i just downloaded fwh9_06 and i can't get my projects built. This is what i get. [quote:2855bvbe]--------------------------- Unrecoverable error 9000: --------------------------- Module: '.\source\function\ALERT.PRG' was compiled into PCODE version: 10,this version of xHarbour expects version: 9 [/quote:2855bvbe] I also downloaded and used the xHarbour.exe provided at the ftdn webside of Antonio. I'd be glad for each help. Thanks and regards, Detlef
fwh9_06
You need to install the xharbour version provided along with the FWH
fwh9_06
Sorry, this error was before i used the xHarbour from the fivetech website. Now it's [quote:2g94y9ib] Type: C >>>Couldn't build: umsatz.c<<< Type: C >>>TMAKEOBJECT<<< Type: C >>>TMAKEOBJECT:REFRESH<<< Type: N >>> 1322<<<[/quote:2g94y9ib] I'm using xHarbour Builder and slowly i get annoyed because everytime i update my ftdn version i get troubles with that tool. If i use the buildx.bat in the samples directory everything works fine. Is there anybody using xHarbour Builder and having the same problem? Regards, Detlef
fwh9_06
I almost always have to recompile Fivehmx.lib. Sometimes it is necessary to edit xH_Fivehmx.lib.xbp so it catches everything.
fwh9_06
If we are not using xHarbour commercial version, xMate is a very good project builder. Never have any problems. I have no comments on xharbour.com's builder.
fwh9_06
Rao Agreed on xMate .. Editor is great and I like the 'jump' lists on defined functions with then same .prg. The project builder 'just SIMPLY works' !! Rick Lipkin