Re: /temp not available/accessible after startup
- From: "Bruce Eitman [eMVP]" <bruce.eitman.nospam@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 May 2009 08:15:08 -0400
How are your applications being started? Is it being started using
HKLM\Init? If so, is it calling SignalStarted()? Does it start before the
Explorer shell? Have you tried creating \Temp yourself?
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
<andre.tippel@xxxxxxxxxxxxxx> wrote in message
news:78dc7197-a938-42ec-ac3d-de1edc52cc8f@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Paul,
i tried to wait for the availaility of /temp with help of
"Directory.Exist" and "Thread.Sleep" but it doesn't help. It seems to
me that in my application context /temp is accessible only if it
exists before the application start.
But you bring an idea to me, i add some start conditions so that the
starter-app check if the environment setup is complete... i try this
at monday...
On 30 Apr., 16:59, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
The order in which *any* external filesystem is mounted, or the time it
takes for it to be mounted, is going to vary. This would be the same case
if you had a storage card that was sometimes inserted on startup and
sometimes not. You have to handle that case in your code. Wait for it to
become available, if you absolutely need it in order to work.
Paul T.
<andre.tip...@xxxxxxxxxxxxxx> wrote in message
news:cc2d1974-a293-46b7-ad73-3fe2fff6e26e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
i have an application that start two other applications therfore it
parse a xml file that contains startup parameters. With this xml file
you can configure commandline parameters for the apps and configure a
delay to ensure that one (1) app is completly started before the
other (2).
My Problem is that the app (2) [.Net 2.0] that should start as the
second one can't access /temp directory mostly. I add checks if the
directory exist and add a Thread.Sleep to avoid multiple access to /
temp but it doesn't help.
If i close the app by hand and start it again (by hand) it works
without problems. In my opinion the other apps doesn't access this
folder.
Had anyone else of you problems with file access like this?? Why can i
only access the folder after i close the app and start it again?
tia
Andre
.
- Follow-Ups:
- Re: /temp not available/accessible after startup
- From: Andre Tippel
- Re: /temp not available/accessible after startup
- References:
- Re: /temp not available/accessible after startup
- From: andre . tippel
- Re: /temp not available/accessible after startup
- Prev by Date: Re: /temp not available/accessible after startup
- Next by Date: Re: /temp not available/accessible after startup
- Previous by thread: Re: /temp not available/accessible after startup
- Next by thread: Re: /temp not available/accessible after startup
- Index(es):
Relevant Pages
|