Test2003 uses all CPU
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Test2003 uses all CPU
When I run the Test2003.exe it uses 98% of the CPU time. There must be a continuious loop somewhere. Has anyone else noticed this?
FWH 8.01/xHarbour
James
FWH 8.01/xHarbour
James
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Robert Frank
- Posts: 95
- Joined: Fri Nov 23, 2007 4:43 am
- Location: Gdynia-Poland
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Antonio,
It would be great if we could do this:
Define outlook2003 oOutlook of oWnd:
Prompts "Customer","Inventory";
Dialogs "Customer","Inventory"
I know it is a little unusual since we would be defining a outlook bar from code and dialogs from resources in the same statement.
I tried defining a dialog from a resource then doing:
oOutlook:aDialogs[1]:= oDlg
I could get it to display but all the controls are unclickable and the outlook bar buttons vanish. I'm still looking into it.
James
It would be great if we could do this:
Define outlook2003 oOutlook of oWnd:
Prompts "Customer","Inventory";
Dialogs "Customer","Inventory"
I know it is a little unusual since we would be defining a outlook bar from code and dialogs from resources in the same statement.
I tried defining a dialog from a resource then doing:
oOutlook:aDialogs[1]:= oDlg
I could get it to display but all the controls are unclickable and the outlook bar buttons vanish. I'm still looking into it.
James
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Antonio,
I notice that in the Outlook2003 class you are defining a local oFont in the Redefine() method. There are also two other fonts oFontHeader and oFontGroup which are class vars and do get destroyed.
Doesn't this mean that the local oFont is not getting destroyed and thus becomes a memory leak?
Regards,
James
I notice that in the Outlook2003 class you are defining a local oFont in the Redefine() method. There are also two other fonts oFontHeader and oFontGroup which are class vars and do get destroyed.
Doesn't this mean that the local oFont is not getting destroyed and thus becomes a memory leak?
Regards,
James
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: