Information générale
Catégorie:
Visual FoxPro et .NET
Titre:
Exception upon exiting FoxPro application
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement