Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone else losing object references during runtime?
Message
From
30/09/1998 22:19:44
 
 
To
25/09/1998 11:30:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00140817
Message ID:
00142651
Views:
29
Unfortunately, it is nothing like this (brain seisure). We are using a form manager class in code that instantiates our forms, which are all objects in VCX's. It collects and maintains the forms that are open. In a predictable place in the program, when clicking on a form, it will disappear. You can run a keystroke by keystroke test that will fail only 5-10% of the time. This test contains:

starting the application
opening the form
selecting a record
clicking on a page tab on the form.

In order to replicate the problem, reliably, we have to fill the memory of the computer with many large programs. Then, we get 90% chance of the above script causing the problem.

We have noted that once the screen disappears, and we re-select it from the menu, the form manager errors out because it has an invalid object reference - it is looking for a form that was just in memory that has suddenly disappeared.

>I've only seen this when my brain has left the building but I haven't. < g >
>Just a suspicion here. How are you handling your READ EVENTS/CLEAR EVENTS. Are you using a Top Level Form and is the form that "disappears" a modal/modeless form done in the screen or top level form?
>
>>We have an error where we randomly have a screen disappear (apparently from memory). Has anyone else seen this behavior?
>>
>...snip
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform