Re: Windows Service & ADO problem
- From: "Guillem" <guillemvicens-nospam@xxxxxxxxxxxxxxxxxx>
- Date: 18 Sep 2006 03:05:55 -0700
Allen wrote:
Hi,
I have a problem with a block of code causes corruption of the NTLDR
when the system is shut down.
<snip>
however if
the thread is active and the machines power switch is held down to
force the machine to shut down then the logging I have suggests that
the FreeThreadObjects code is never called, and the OS becomes
corrupted.
this is an extreme case and IMHO not something your app should control.
The OS should be smart enough to handle such reboots.
Some questions:
Are you trying to create a fault-tolerant app? how do you determine
NTLDR becomes corrupted? Does the OS not load properly after trying
this case? Are you sure this problem is caused by your app?
If anyone has any idea's what might be occuring or suggestions of
something to try to prevent this from occuring I would be most
grateful to hear from you.
well, first thought would be "use a good UPS". Second thought could be
"save a copy of the NTLDR and anything it needs".
--
Best regards :)
Guillem Vicens Meier
Dep. Informática Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
.
- Follow-Ups:
- Re: Windows Service & ADO problem
- From: Allen
- Re: Windows Service & ADO problem
- References:
- Windows Service & ADO problem
- From: Allen
- Windows Service & ADO problem
- Prev by Date: Re: How to create/copy an access table programmatically D6
- Next by Date: Re: Windows Service & ADO problem
- Previous by thread: Windows Service & ADO problem
- Next by thread: Re: Windows Service & ADO problem
- Index(es):
Relevant Pages
|