Tuesday, September 05, 2006
Three weeks ago I wrote a short overview article of Windows Feedback Platform (WFP), the evolution of Windows Error Reporting (WER). Those of you who are subscribed to the msdn flash newsletter will have (hopefully) read it already (published 17th August). Its title: "Code quality, customer feedback and application reliability with Windows Vista".
If you want to read an online version of it (or wish to subscribe to the essential msdn flash) please go here where we store the archives.
In the article, I mention the Application Recovery APIs that I covered on my blog: RegisterApplicationRestart and RegisterApplicationRecoveryCallback.
If you've read those posts, you may wish to demo the APIs without having to explain WER and the dialogs that get thrown (I was in such a situation recently). One thing we can do is turn off WER for your sample demo application. To do that we need to wrap WerAddExcludedApplication like this:
...and then call it like this:
Of course, if you do leave WER enabled, remember to show that with Windows Vista it now works even for hangs (not just for crashes) :-)
If you want to read an online version of it (or wish to subscribe to the essential msdn flash) please go here where we store the archives.
In the article, I mention the Application Recovery APIs that I covered on my blog: RegisterApplicationRestart and RegisterApplicationRecoveryCallback.
If you've read those posts, you may wish to demo the APIs without having to explain WER and the dialogs that get thrown (I was in such a situation recently). One thing we can do is turn off WER for your sample demo application. To do that we need to wrap WerAddExcludedApplication like this:
[DllImport("wer.dll")]
internal static extern uint WerAddExcludedApplication(string pwzExeName, bool bAllUsers);...and then call it like this:
WerAddExcludedApplication(AppDomain.CurrentDomain.FriendlyName, false);Of course, if you do leave WER enabled, remember to show that with Windows Vista it now works even for hangs (not just for crashes) :-)
Labels: Vista
Comments:
« Latest Posts
Hello,
Could you pls. help me to solve the following problem?
I have a laptop (Toshiba Satellite L500) with Windows Vista Home Premium op. system, connected to a PLUSTEK PS 286 scanner which, according to its specs, supports ADF duplex scanning. Although I tried two different S/W applications that support ADF duplex scanning, namely eDocXL V.4.6.2.2 and Presto! Page Manager 7.10, duplex scanning could not work.
Is this a problem of Windows Vista? (I read some articles on the Internet about it). If yes, is there a patch available that can fix the problem?
Thank you very much
George Lalopoulos
Athens, Greece
e-mail: lagiplan00@gmail.com
_________________Could you pls. help me to solve the following problem?
I have a laptop (Toshiba Satellite L500) with Windows Vista Home Premium op. system, connected to a PLUSTEK PS 286 scanner which, according to its specs, supports ADF duplex scanning. Although I tried two different S/W applications that support ADF duplex scanning, namely eDocXL V.4.6.2.2 and Presto! Page Manager 7.10, duplex scanning could not work.
Is this a problem of Windows Vista? (I read some articles on the Internet about it). If yes, is there a patch available that can fix the problem?
Thank you very much
George Lalopoulos
Athens, Greece
e-mail: lagiplan00@gmail.com
« Latest Posts
Copyright © Daniel Moth




Post a Comment
Please keep comments directly relevant to this blog post. Remember that generic support questions are best posted to the MSDN Forums.
Note that Anonymous comments are likely not going to appear so Sign-in or at least pick a Name even if you don't have a URL.