Page 1 of 1

garbage collector?

Posted: Wed Nov 18, 2009 9:46 am
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

Re: garbage collector?

Posted: Wed Nov 18, 2009 10:24 am
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.

Re: garbage collector?

Posted: Wed Nov 18, 2009 10:35 am
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

Re: garbage collector?

Posted: Wed Nov 18, 2009 10:38 am
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

Re: garbage collector?

Posted: Wed Nov 18, 2009 10:41 am
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

Re: garbage collector?

Posted: Wed Nov 18, 2009 10:50 am
by yardenmo
Antonio,

Thanks a lot.

I'll check it all.

Regards,
Moshe Yarden

Re: garbage collector?

Posted: Wed Nov 18, 2009 1:43 pm
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