Search found 92 matches: garbage

Return to advanced search

Re: Corrup file en copia de respaldo

... is corrupted? If it is really corrupted by some virus overwriting part of the file with junk, there is no way to fix it. If you open and find no garbage in the file, it is worth trying again. For future we have an important advice. We know the syntax: BackUp( [aTables], cDest, [bProgress], ...
by nageswaragunupudi
Sat Aug 26, 2023 8:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Corrup file en copia de respaldo
Replies: 1
Views: 140

New FTDN July/Julio (FWH 23.07)

... Command ? (WQout() function) enhanced. Displaying together strings containing characters with different notiation in ANSI and UTF8 was displaying garbage. Fixed. * new functions AnsiToUtf8( cStr ) and Utf8ToAnsi( cStr ) Useful in case of some WU language characters like German Umlauts who are ...
by Antonio Linares
Thu Jul 27, 2023 6:13 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1060

Re: variables, their validity and the memory consumption

Dear Otto,

As far as I know it, JS uses automatic garbage collection:

https://javascript.info/garbage-collection

so you should not worry about it
by Antonio Linares
Fri Jan 07, 2022 2:37 pm
 
Forum: mod_harbour
Topic: variables, their validity and the memory consumption
Replies: 3
Views: 314

Re: OT : Problem with this forum?

... id (SDI) may be related to PHP sessions. If we get a new session ID then it means that the previous one was deleted. This may be related to PHP garbage collection and such GC happens based on the parameter in php.ini: session.gc_maxlifetime = 99999999 // it is 65535 by default we keep searching...
by Antonio Linares
Wed Dec 29, 2021 9:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT : Problem with this forum?
Replies: 65
Views: 4898

Re: Cerrar conexión MySql con TDolphin

la idea de las funciones garbage, es que son llamadas cuando el programa entra en idle, y se ejecuta al recolector de basura, ahi las variables a nil, son procesadas. ahi es cuando se llama la función mysql_close, para el caso de la variable ...
by carlos vargas
Wed Nov 03, 2021 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar conexión MySql con TDolphin (Solucionado)
Replies: 8
Views: 650

Re: Cerrar conexión MySql con TDolphin

Carlos:
Muchas gracias por la pronta respuesta
Con:
Code: Select all  Expand view

oServer:End()
oServer := nil
 

No la mata a la conexión.
Por ahí te interprete mal, HB_GARBAGE_FUNC como la llamo?
Esa funcion veo que esta en function.c de dolphin, pero no la llama en ningun lado al hacer End
by cmsoft
Wed Nov 03, 2021 4:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar conexión MySql con TDolphin (Solucionado)
Replies: 8
Views: 650

Re: Cerrar conexión MySql con TDolphin

en tdolphin, static HB_GARBAGE_FUNC( MYSQL_release ) { void ** ph = (void **) Cargo; /* Check if pointer is not NULL to avoid multiple freeing */ if( ph && * ph ) { /* Destroy the object */ mysql_close( (MYSQL *) * ph ); /* set pointer to NULL to avoid multiple freeing */ * ph = NULL; } } in...
by carlos vargas
Wed Nov 03, 2021 4:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cerrar conexión MySql con TDolphin (Solucionado)
Replies: 8
Views: 650

Re: OT : Problem with this forum?

We do have a local php.ini and this value inside:

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
; http://php.net/session.gc-maxlifetime
session.gc_maxlifetime = 1440

whats the right value to place theere ? :-)
by Antonio Linares
Mon Sep 20, 2021 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT : Problem with this forum?
Replies: 65
Views: 4898

Re: Tcalex : insert a bitmap

... 1 ) * 7 ) + nCol - 1 I add cTypeGarbage:= LoadGarbage( dNextDay ) this return me a text ( it load on my calendar archive and return me the type of garbage) then I add this cTypeGarbage .....sample cText = " " + Str( Day( dNextDay ), 2 ) +cTypeGarbage sample : https://i.postimg.cc/gkV88RTr/kkkk.png
by Silvio.Falconi
Sat Jan 25, 2020 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tcalex : insert a bitmap
Replies: 7
Views: 763

Re: Tcalex : insert a bitmap

Hello Silvio, same problem here: MO paper, Fr plastic and on We the rest of garbage. :-) Do you have the icons ready. In my software I use @ 0,0 ; BUTTONBMP ; PROMPT "FW" ; BITMAP here my icon with no ACTION. Maybe you can try this. Where in source ...
by Silvio.Falconi
Sat Jan 25, 2020 10:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tcalex : insert a bitmap
Replies: 7
Views: 763

Re: Tcalex : insert a bitmap

Hello Silvio, same problem here: MO paper, Fr plastic and on We the rest of garbage. :-) Do you have the icons ready. In my software I use @ 0,0 ; BUTTONBMP ; PROMPT "FW" ; BITMAP here my icon with no ACTION. Maybe you can try this. Where in source are ...
by Otto
Sat Jan 25, 2020 10:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tcalex : insert a bitmap
Replies: 7
Views: 763

Re: Tcalex : insert a bitmap

... this position sample : https://i.postimg.cc/TP1gdtgz/jj.jpg I need this change because we do the differential collection for urban garbage and I wanted to insert the symbol linked to the day Someone can help me please ? Necesito este cambio porque hacemos la recolección diferencial ...
by Silvio.Falconi
Sat Jan 25, 2020 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tcalex : insert a bitmap
Replies: 7
Views: 763

Problemas con Syswait.

... manera de evitar que el syswait haga este consumo de memoria, me refiero a ver si se puede hacer una limpieza de memoria cada poco o similar (Garbage collector), no sé si el error se produce por la aglomeración de basura en la memoria o por otro motivo, pero si estoy poco tiempo no pasa nada, ...
by Andrés González
Sat Nov 23, 2019 11:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Syswait.
Replies: 1
Views: 612

Re: HRB curiosities...

HRBs implement a garbage collector that unloads them, thats the reason for it: /* HRB module destructor */static HB_GARBAGE_FUNC( hb_hrb_Destructor ){  PHRB_BODY * pHrbPtr = ( PHRB_BODY * ) Cargo;  if( ...
by Antonio Linares
Tue Jul 23, 2019 7:32 am
 
Forum: Off Topic / Otros temas
Topic: HRB curiosities...
Replies: 5
Views: 1145

Re: Garbage Value on Multiply

Here is a workaround, not a fix.

Please convert
Code: Select all  Expand view

nAmt := ( nRate *  nQty )
 


as
Code: Select all  Expand view

nAmt := ROUND( nRate *  nQty, 2 )
 

in all the places in the program.

With this change, you can see the values of nAmt correctly
by nageswaragunupudi
Mon May 27, 2019 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Garbage Value on Multiply
Replies: 6
Views: 1100
Next

Return to advanced search