garbage collector?

garbage collector?

Postby yardenmo » Wed Nov 18, 2009 9:46 am

Hello,

It happens that there is a need to reset the PPC before running again the FWPPC application.
After closing the application if I try to copy a new version of the application from the PC to the PPC it can be done just after reseting the PPC. Or, when trying to run the application again there is, again, a need to reset the PPC.
After reseting the PPC it is working ok: overwriting an application by a new version or running again the application.
It doesn't happen every time. It seems that it happens just after using the application few times.
That is the reason I was thinking about garbage collector.


Thanks,
Moshe Yarden
yardenmo
 
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Re: garbage collector?

Postby Antonio Linares » Wed Nov 18, 2009 10:24 am

Moshe,

You should call hb_gcAll() from time to time, mainly after doing some work from your EXE, so the garbage collector cleans all the unused memory.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: garbage collector?

Postby yardenmo » Wed Nov 18, 2009 10:35 am

Antonio,

Thanks. I'll add it.
Is there a full list of FWPPC FUNCTIONS?
FTP between PPC and PC using GPRS, and automatic internet open: had it been added to the samples?

Regards,
Moshe Yarden
yardenmo
 
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Re: garbage collector?

Postby Antonio Linares » Wed Nov 18, 2009 10:38 am

Moshe,

hb_gcAll() is a Harbour function, not a FWPPC one. You can check our wiki to review the most updated documentation: http://wiki.fivetechsoft.com It is a work in progress.

Also it is important that you check the consume of GDI objects in your application, please review this thread:
viewtopic.php?f=3&t=15935&start=0&hilit=gdi
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: garbage collector?

Postby Antonio Linares » Wed Nov 18, 2009 10:41 am

Moshe,

Regarding FTP, it will work no matter how you set the internet connection.

I mean, once the internet conection is working, FTP works as usual.

Please review FWPPC\samples\ftp.prg and ftpdir.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: garbage collector?

Postby yardenmo » Wed Nov 18, 2009 10:50 am

Antonio,

Thanks a lot.

I'll check it all.

Regards,
Moshe Yarden
yardenmo
 
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Re: garbage collector?

Postby Otto » Wed Nov 18, 2009 1:43 pm

Re: How to auto open an Internet connection
by Otto » Thu Oct 15, 2009 7:49 am

viewtopic.php?f=4&t=15508&p=80987&hilit=GprsConnect#p80987

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 19 guests