Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving the Application Size & Location
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00180057
Message ID:
00181236
Vues:
12
>This is kind of what I have done. I have recreated these methods as part of the application class, so that I can save when the app is destroyed and restore when the app is initialized. However, this 'seems' too late in the game.>

At what point are you saving / restoring?

>Also, another 'weird' thing is happening when I use the application's saveposition() that I created. It is essentially the same as cbaseform's saveposition, except the references are different, and I sporadically get GPF's (alias C0000005). When I disable this code, I don't get the C0000005 error.>

You'll find there are a few different ways to generate this error in VFP6. For example, Microsoft's Knowledge Base says the RemoveObject() method can cause this problem. I've noticed that RemoveObject() can cause this error in more situations than the KB article suggests.

At any rate, you can check the KB articles and see what you might be doing in your code that is generating this error.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform