Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instance Closing issue in Multi-threaded DLL
Message
De
28/08/2006 23:00:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Instance Closing issue in Multi-threaded DLL
Divers
Thread ID:
01149242
Message ID:
01149242
Vues:
54
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
Fil
Voir

Click here to load this message in the networking platform