Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls collection
Message
 
 
To
07/07/2002 21:37:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00675459
Message ID:
00676009
Views:
13
Craig,

There's a bug in earlier releases of VFP where calling PEMSTATUS() more than once inside a single VFP command could increase the internal object reference counts and cause the objects to not release. ObjRef can not find these kinds of problems. The workaround is to split the calls:
ll1 = pemstatus()
ll2 = pemstatus()

if ( ll1 and ll2 )
   ...
instead of
if ( pemstatus() and pemstatus() )
   ...
>David, the OBJREF() utility was the first thing I tried!
>
>Yes, I am using a PEMSTATUS command in the form, is there a bug with this?
>
>I have found the problem, it is somehow related to the grid object on the form, that was being removed and added again. I have modified it and now leave the grid object and add/remove the columns only and presto the problem is fixed.
>
>not sure exactly what component of the grid was still referencing the form though...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform