Posted by: rcosic | 14/02/2008

Application Recovery on Windows Vista

The subject is really cute so I will explain it a little bit, and maybe in future make some session about it!
It it about Application Recovery and Restart Manager functionality on Windows Vista.

Description of a problem:

Windows break apart or Windows Update is under way. Application which you made is still working during that time and, probably, doing something, processing. What is happening with the application? What is happening with the data in the flow? What’s with the database, transaction, file, in-memory vars? We’ve got ‘Houston”!

Solution:

Windows Vista gives us something regarding that, and that is so called ‘Application Recovery’ mechanism (through kernel32.dll API), and even more with Restart Manager (rstrtmgr.dll). What is all about? Application registers itself as a “RM-aware” app which react on ‘pinging’ of already mentioned RM, and react in a way that it closes all open files, transactions, and so on, and prepares itself for inevitable end. Even you can force the Vista to cancel hers restart. Alltogether, ‘sounds promising’.

I have made some little code snippet on that, and I will present it on the way.

Continue with the topic…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: