John Baird
Coatesville, Pennsylvania, United States
Environment versions
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..
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only