John Baird
Coatesville, Pennsylvanie, États-Unis
Versions des environnements
Network:
Windows 2003 Server
>If I have a desktop application and I need to close it, I call the Close() method. But, since two years, on occasional basis, when we call that method, this generates an unknown exception in memory. This is very difficult to troubleshoot as I haven't found yet the way to simulate that.
>
>However, I have been thinking about something. When I programatically send a message to the application so it will close itself, this is usually done three levels down the hierarchy of the program operations. Thus, it is one method calling another calling another. I have been wondering if calling Close() from three levels deep could have such an impact.
>
>Any comment?
I would create a Close Event and have the main app listen for that .... don't know if the calling hierarchy is causing a problem or not..
Précédent
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