Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Instance Closing issue in Multi-threaded DLL
I am creating a multi-threaded DLL which I then wrap in a C#.net web service. This particular VFP DLL was once a thick client app that I transformed into a DLL. The DLL is a fairly large application and it is registered in COM+. My problem is that when I call the function in the web service, that in turn calls the VFP DLL, the first call works perfectly. The second call on the DLL results in an error or until I stop the DLL in the component services applet. I'm thinking maybe this is due to the fact that I am using PUBLIC variables - but I release them all near the end of the method call. I know the problem lies within the VFP DLL. I can try calling it from a simple VFP program and get the same issue where the instance is not being released or cleared. I'm not sure what to try next. Ideas?
Thanks!
Suivant
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