Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception upon exiting FoxPro application
Message
From
15/01/2004 20:23:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Exception upon exiting FoxPro application
Miscellaneous
Thread ID:
00867336
Message ID:
00867336
Views:
55
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
Reply
Map
View

Click here to load this message in the networking platform