Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Managing error event within critical section???
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Managing error event within critical section???
Divers
Thread ID:
01188583
Message ID:
01188583
Vues:
75
I have this VFP COM MTDLL that has a short critical section in it. The MTDLL is used by an ASP app. I have run into a problem. Currently, when the error event for the COM object fires while in the CS, the expected things do happen and the appropriate reporting happens on the web page, and then the object returns control to ASP, but the critical section is not exited (control in the VFP code does not return to the point where the error occurred and continue through the remainder of the CS). The next time any browser session instantiates the same COM object and comes to the CS, it hangs because the a previous CS was never exited.

Is there a preferred way to deal with cleanly exiting a CS even when an error event fires? Or possibly deal with error handling completely within the CS itself?

Thanks very much.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform