Search found 218 matches: checkres

Return to advanced search

Re: CheckRes()

karinha, gracias por su ayuda, ya no genera el resources.txt si activo SetResDebug(.t.), se genera el res.log con este contenido 487194999 FONT /*,-+0,*0/ FONT /-.,),-,/, FONT /(,./)+'0 BMP /,+'.(/.(- BMP -> ResizeImg /*)/0)).) FONT /'/..*)*(+ BMP (+,+(/*(. BRUSH /0).*(*''( BRUSH /*,-//)-/. BRUSH...
by russimicro
Tue Mar 10, 2020 8:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

...  RELEASE ALL   SysRefresh()   HB_GCALL( .T. )   CLEAR MEMORY   IF FILE( "checkres.txt" )      FErase( "checkres.txt" )   ENDIF   CheckRes()  // CREA ...
by karinha
Tue Mar 10, 2020 5:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

...  DbCloseAll()   FreeResources()   Release All   SysRefresh()   HB_GCALL( .T. )   CLEAR MEMORY   CheckRes()   PostQuitMessage( 0 )   __QUIT()RETURN NIL 
by russimicro
Tue Mar 10, 2020 4:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

No use PUBLIC en el FONT o BRUSH.

Intenta con:

Code: Select all  Expand view


   // oBrush:End()
   // oFont:End()

   ó

   RELEASE BRUSH oBrush
   RELEASE FONT oFont

   ó

   DeleteObject( oFont )
   DeleteObject( oBrush )
 


Saludos.
by karinha
Tue Mar 10, 2020 3:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

  DEFINE BRUSH oBrush FILE cNomFon  RESIZE                   IF oBrush <> NIL                      oMetPri:SetBrush( oBrush )                      oBrush:End()                   ENDIF  FUNCTION SALIR() IF oBrush <> NIL oBrush:End() ENDIF oMetro:End()
by russimicro
Tue Mar 10, 2020 2:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

Y en el módulo como estás cerrando las fuentes y el brush()?

Saludos.
by karinha
Tue Mar 10, 2020 11:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

SET RESOURCES TO
ResAllFree( )
MEMORY( - 1 )



DbCommitAll()
DbUnLockAll()
DbCloseAll()

FreeResources()
Release All
SysRefresh()
HB_GCALL( .T. )
CLEAR MEMORY


CheckRes()


PostQuitMessage( 0 )
__QUIT()
by russimicro
Mon Mar 09, 2020 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: CheckRes()

Muestre cómo está cerrando las FUENTES o haga esto: FUNCTION Salida()   FreeResources()   SysRefresh()   RELEASE All   Hb_GCAll( .T. )   CLEAR MEMORY   PostQuitMessage( 0 )   __QUIT()...
by karinha
Mon Mar 09, 2020 7:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

CheckRes()

Buen dia. Obtengo este reporte con CheckRes(), pregunto me afecta el sistema, si es así como lo soluciono 03/09/2020 09:32:46: DeleteObject( ::hBrush ) failed from TBrush:End() 437262946 03/09/2020 09:32:46: DeleteObject( ::hFont ) failed ...
by russimicro
Mon Mar 09, 2020 2:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CheckRes()
Replies: 22
Views: 3807

Re: (1909)Problem about MDI Window utf8

I see, My advice is to put at the beginning of your main function     SetResDebug (.T.)  and before finishing the Main function      CheckRes()   Return nil  and check the file checkres.txt that is generated, to verify that it has no resources without destroying The code you ...
by cnavarro
Wed Nov 27, 2019 4:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: (1909)Problem about MDI Window utf8
Replies: 8
Views: 1312

Error en harbour

... sigo con el problema de recursos con harbour y me tira el .log esto : Called from PROCNAME(0) Called from FWADDRESOURCE(17) in .\source\function\CHECKRES.PRG Called from MSGPAINT3L(0) Application Internal Error - C:\sistema\villacredGestion\GESTION2018.exe Terminated at: 2019-01-31 12:58:58 recurrentemente, ...
by Ariel
Thu Jan 31, 2019 7:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en harbour
Replies: 2
Views: 565

Re: unknown problem

I got the CHECKRES function data. But I do not know how to interpret. The file checkres.txt contents: 15/10/18 23:34:22: D:\ACESSOSOFT\G-AUTO\BIN\g-auto.exe -- FONT,-485879873,MAIN(185)    15/10/18 23:34:22: D:\ACESSOSOFT\G-AUTO\BIN\g-auto.exe ...
by shark
Tue Oct 16, 2018 2:34 am
 
Forum: FiveWin for CA-Clipper
Topic: unknown problem
Replies: 3
Views: 1439

Re: Ribbonbar getting black

Hi James,

Nothing yet. Checkres() Always is returning na empty string, so by this way i didn't find a solution.
by vilian
Mon Sep 10, 2018 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbonbar getting black
Replies: 32
Views: 6090

Re: Ribbonbar getting black

James,
I really have so much care with resources and good practises, as a result checkres() is returning an empty string. I will try the tool recommend by Cnavarro.
by vilian
Fri Aug 31, 2018 10:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbonbar getting black
Replies: 32
Views: 6090

Re: Ribbonbar getting black

Vilian, OK, I ran a test program just to make sure that checkRes() is working. #include "fivewin.ch"Function Main()   local oDlg, oFont   setResDebug(.t.)   ferase("checkres.txt")  ...
by James Bott
Thu Aug 30, 2018 9:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbonbar getting black
Replies: 32
Views: 6090
PreviousNext

Return to advanced search