Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exception upon exiting FoxPro application
Message
De
15/01/2004 20:23:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Exception upon exiting FoxPro application
Divers
Thread ID:
00867336
Message ID:
00867336
Vues:
56
In our FoxPro application we have some .NET modules that we use and release them while the application shuts down. But just after all our code has executed, we get an exception saying
"Instruction at 'abc' referenced memory at 'xyz'. The memory could not be read. Click OK to terminate the program."

We create the main .NET object through 'CreateObject' (it in turn creates other .NET objects) and send a FoxPro application object handle to .NET module. .NET uses this handle to call some methods on FoxPro objects.

We are not sure at this point if this exception is related to .NET integration with FoxPro, or VFP runtime error, or a problem in the way we have setup our application to work with FoxPro and .NET. But the symptom is that if we remove .NET object creation code, no exception is thrown.

Wondering if anyone has faced such issues and if anyone has any solution, workaround or suggestion.

Any help is greatly appreciated.

Thanks
Raghu
Répondre
Fil
Voir

Click here to load this message in the networking platform