program lockup

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
franco
Posts: 816
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

program lockup

Post by franco »

I am having program lockup problems. is there a way to when ever I go back to my main window to release all to clear everything except
public variables. Also does closing a window by the corner X trigger a window release. I might be building up to much memory use.
Thanks in advance.... Franco
All The Best,
Franco
Canada
User avatar
hmgchang
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia

Re: program lockup

Post by hmgchang »

Dear Franco,

Pls attach your code in order for us to understand the situation

TIA

best rgds
Chang
Just Hmg It !
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: program lockup

Post by serge_girard »

Franco,

Corner X will trigger a window release.

Serge
There's nothing you can do that can't be done...
franco
Posts: 816
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: program lockup

Post by franco »

Chang program is very large. I will have to keep monitoring it to see if it locks at a certain area.
Thanks Serge, when a window is released are all variables and temp memory tables also released.
Franco
All The Best,
Franco
Canada
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: program lockup

Post by apais »

temp memory tables need to be DROPPED or they will remain in memory
dbclosearea() is not enought.

HTH
Angel
Angel Pais
Web Apps consultant/architect/developer.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com
franco
Posts: 816
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: program lockup

Post by franco »

Is release the same as drop.
createtemp tr
use &tr
use
release tr
or should I DROP tr ????????
Thanks Franco
All The Best,
Franco
Canada
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: program lockup

Post by apais »

dbdrop('tr') is mandatory
Angel Pais
Web Apps consultant/architect/developer.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com
franco
Posts: 816
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: program lockup

Post by franco »

Thanks apais, ...... I will use.
Franco
All The Best,
Franco
Canada
Post Reply