Information générale
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Actually I have found that the code compiles clean with VFP8 and VFP9. I guess version 7 can't handle the .net dll and type library for some reason.
Now on to the next error though:
After running this app and executing the foxpro eventhandler for the .net dll, I get a nasty windows error coming out of the foxpro app. The windows error is in the .net dll mscorwks.dll. I am running the latest .net framework(1.1). If I never execute the foxpro eventhandler and never raise the .net event, the app will exit clean. I have watched the foxpro code in the debugger and all the foxpro code executes cleanly. As it exits to the desktop the mscorwks.dll gpfs.
What is interesting is that I created a small VB6 dll that the .net object calls to raise the event that the foxpro app responds to, and everything runs clean.
Is there any sample code anywhere that demonstrates how to respond cleanly to .net events in foxpro?
Again, creating the .net object works fine and the .net app runs smoothly. I just need to be able to respond to events in the foxpro app as things happen in the .net object.
Thanks again.
Précédent
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