delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/09/09:53:31

Sender: root AT delorie DOT com
Message-ID: <375E73A8.A78A66CF@inti.gov.ar>
Date: Wed, 09 Jun 1999 11:01:12 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Open file created by child: problems under W95 (most machines)
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990609112150 DOT 11862D-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:

> On Tue, 8 Jun 1999, salvador wrote:
>
> > > It could be that Windows denies access to the registry for a while,
> > > after it has been changed, perhaps because some OS components re-read
> > > it.
> >
> > Is not the registry, is the file exported by regedit.
>
> Yes, I misunderstood your message.  Sorry.
>
> Is it possible that running regedit actually runs two programs,

Don't know, but I doubt it, unless the program is a dual mode one (DOS/Win32)
and the DOS stub calls the Win32 code. But I don't think it could be logic,
but is M$ ... let me see ...
Ugh! the 34% of the program is an MS-DOS program, the rest is a Win32 one! I
think then this program was designed to run in pure DOS too, so it shouldn't
call a Win32 program.

> and
> the other one is still updating the file when regedit exits?  Perhaps
> the systems where this problem shows have some ``improved'' version of
> regedit?

Both says REGEDIT4 in the generated file.

> > Ok, send me it, the problem is how to run it in the right moment, I hope
> > I can spawn it while the file stills unaccesable.
>
> The source sent in a separate message.

Ok.

> I suppose you could run it from the same loop that waits for the file
> to be accessible, just redirect its output to a file and then examine
> that file.

Yes, also the time is about 5 seconds so I can do anything ;-)

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019