FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC garbage collector?
Posts: 33
Joined: Tue Aug 12, 2008 07:08 AM
garbage collector?
Posted: Wed Nov 18, 2009 09: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: garbage collector?
Posted: 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
Posts: 33
Joined: Tue Aug 12, 2008 07:08 AM
Re: garbage collector?
Posted: 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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: garbage collector?
Posted: 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=3t=15935start=0hilit=gdi

&&&

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: garbage collector?
Posted: 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
Posts: 33
Joined: Tue Aug 12, 2008 07:08 AM
Re: garbage collector?
Posted: Wed Nov 18, 2009 10:50 AM

Antonio,

Thanks a lot.

I'll check it all.

Regards,
Moshe Yarden

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: garbage collector?
Posted: Wed Nov 18, 2009 01:43 PM

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

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

Best regards,
Otto

&&&

Continue the discussion