Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #1060
| From | Karl E. Peterson <karl@exmvps.org> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: VB6 application in XP Mode, Host computer issues shutdown |
| Date | 2012-05-01 09:29 -0700 |
| Organization | exMVPs.org |
| Message-ID | <jnp31v$bat$1@dont-email.me> (permalink) |
| References | <agmip7dp05vetgnsnkt671e5kngq1ls5ei@4ax.com> |
Gabriel Knight wrote on 4/26/2012 : > Greetings, > > Not sure if this is something I can resolve in my VB application, or > if it is something that needs to be addressed at the Windows level. > > My application runs a dir() query every x minutes. The computer runs > this in XP Mode and it stays running from startup. This application > was made in order to resolve some connectivity problems they were > having with two DOS applications that run in XP Mode. > > The problems are resolved by this application, but when the user > issues a shutdown of the Windows 7 host computer, if my application is > still running they get a transparent screen overlay offering them to > force close the application. > > If my application is shutdown in advance, everything is fine, but this > would be a nuisance to the users. > > Is there a way for me to detect that there is a shutdown requested? > I'm not even sure if this gets passed to the XP Mode guest virtual > computer. This may be something that needs to be handled in more than > one scope; I'm not sure how - or even if - an application running in > XP Mode will receive notification that the host is attempting to > shutdown. > > Any advice or reference would be appreciated. What does Windows do with the XPMode VM when the host is shutting down? Does it attempt to hibernate it? Does it send a shutdown signal? Does it simply "pull the plug"? If we can understand that, there's an answer to be found. -- .NET: It's About Trust! http://vfred.mvps.org
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Find similar
VB6 application in XP Mode, Host computer issues shutdown Gabriel Knight <me@somewhere.com> - 2012-04-26 10:27 -0400
Re: VB6 application in XP Mode, Host computer issues shutdown "Mayayana" <mayayana@invalid.nospam> - 2012-04-26 10:40 -0400
Re: VB6 application in XP Mode, Host computer issues shutdown Gabriel Knight <me@somewhere.com> - 2012-04-27 05:15 -0400
Re: VB6 application in XP Mode, Host computer issues shutdown Gabriel Knight <me@somewhere.com> - 2012-04-28 04:53 -0400
Re: VB6 application in XP Mode, Host computer issues shutdown Karl E. Peterson <karl@exmvps.org> - 2012-04-30 11:58 -0700
Re: VB6 application in XP Mode, Host computer issues shutdown Ulrich Korndoerfer <ulrich_wants_nospam@prosource.de> - 2012-05-01 00:14 +0200
Re: VB6 application in XP Mode, Host computer issues shutdown "David Youngblood" <dwy@flash.net> - 2012-05-01 02:52 -0500
Re: VB6 application in XP Mode, Host computer issues shutdown Karl E. Peterson <karl@exmvps.org> - 2012-05-01 09:28 -0700
Re: VB6 application in XP Mode, Host computer issues shutdown Karl E. Peterson <karl@exmvps.org> - 2012-05-01 09:29 -0700
csiph-web