Re: [rs-devel] RS 0.0.5.10 not running User startup items
Status: Beta
Brought to you by:
obada
|
From: Mudiaga O. <ob...@us...> - 2002-05-07 00:02:29
|
Wow!! pavel, you're a bug god!
I looked at this and it seems like LSExecute() is broken ... and I didn't=
even notice because I disabled running startup items in
step.rc :-(
It is probaby because of quoting....
or I've added or removed one shell32 call too many...
Now which one was it... I'll have to wait for tomorrow...
Locating the bug:
If you look at the very top of the file
=2E\lsexsh32\shrunner.c you see:
/*
* fixme - parse out argcs
*/
static void do_exec(char * cmd_line)
{
LSExecute(NULL, cmd_line, 0);
}
Can you add
ls_log("exec", LOG_DEBUG, 0, "Running startup command %s",
cmd_line);
before LSExecute to see what that shexsh32.dll is actually calling LSExec=
ute. It=20
seems to be win2k's shell32.dll that isn't doing the exec...
If retro doesn get to that stage, it should say:
"can't enumerate directory entries for ..." in the log file.
Pavel Vitis wrote:
> RS build 0.0.5.10 doesn't run User/Common startup groups items for me=
=2E
>
> I have Win2K SP1 and my startup folder is (Czech edition):
>
> "C:\Documents and Settings\vitis\Nab=EDdka Start\Programy\Po spu=B9t=EC=
n=ED"
>
> And common startup folder is:
>
> "C:\Documents and Settings\All Users.WINNT\Nab=EDdka Start\Programy\P=
o spu=B9t=ECn=ED"
>
> !StartupRun bang doesn't load them too.
>
> All other startup items are run successfuly.
> I didn't find any error/info messages in log about failing of startup=
> loader.
>
> pavel
|