garbage collector?

Post Reply
yardenmo
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

garbage collector?

Post by yardenmo »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: garbage collector?

Post by Antonio Linares »

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
yardenmo
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Re: garbage collector?

Post by yardenmo »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: garbage collector?

Post by Antonio Linares »

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:
http://forums.fivetechsupport.com/viewt ... &hilit=gdi
regards, saludos

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

Re: garbage collector?

Post by Antonio Linares »

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
yardenmo
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Re: garbage collector?

Post by yardenmo »

Antonio,

Thanks a lot.

I'll check it all.

Regards,
Moshe Yarden
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: garbage collector?

Post by Otto »

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

http://forums.fivetechsupport.com/viewt ... ect#p80987

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
Post Reply