![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How can I manage/encapsulate failures of an Active X control I have an Active-X control provided by a vendor that will inadvertenly crash while processing. The good part is that I do have a way to save information routinely as it is processing in the event it crashes. From there I can start over and I can eventually finish the process. My problem is that at this stage I have been doing this manually, but now I have to come up with an automated solution. What I want is to have my program run, save the data at increments and restart when the Active- X control crashed without the user ever knowing it. My mayor concern which is also the main question. Is how to do it the best way, and if there is a possibility for memory leaks.? The problem with a memory leak is that eventually the spawning process may not work and it would default to the original behaviour of crashing in the middle of the process. I would normally want to call the process using a regular procedure call instead of a command line call. But it may be that the command line islates the processes better. I am asigning "Nothing" to the Active-X object at the end of the run, and I also have a try block to make sure the asignment runs. Thanks in advance for any help. Arturo Hernandez |
My System Specs![]() |
| | #2 (permalink) |
| | How can I manage/encapsulate failures of an Active X control I have an Active-X control provided by a vendor that will inadvertenly crash while processing. The good part is that I do have a way to save information routinely as it is processing in the event it crashes. From there I can start over and I can eventually finish the process. My problem is that at this stage I have been doing this manually, but now I have to come up with an automated solution. What I want is to have my program run, save the data at increments and restart when the Active- X control crashed without the user ever knowing it. My mayor concern which is also the main question. Is how to do it the best way, and if there is a possibility for memory leaks.? The problem with a memory leak is that eventually the spawning process may not work and it would default to the original behaviour of crashing in the middle of the process. I would normally want to call the process using a regular procedure call instead of a command line call. But it may be that the command line islates the processes better. I am asigning "Nothing" to the Active-X object at the end of the run, and I also have a try block to make sure the asignment runs. Thanks in advance for any help. Arturo Hernandez |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: Service Pack 1 and Control Panel Applet Failures | Vista performance & maintenance | |||
| Re: Service Pack 1 and Control Panel Applet Failures | Vista General | |||
| Re: Service Pack 1 and Control Panel Applet Failures | Vista General | |||
| Active X control | Vista installation & setup | |||
| Active X control | Vista security | |||