shell32 patch

2004-07-31 Thread Jens Collin
Hi, I've made a small change in shell32.dll to enable one to type a myfile.txt from Start->Run dialog (for example). I've simply replaced the call to CreateProcess with ShellExecute. I've tested this change in reactos and it works nicely. It won't really work since there is something wrong with Sh

Re: shell32 patch 28

2004-04-01 Thread Alexandre Julliard
"Martin Fuchs" <[EMAIL PROTECTED]> writes: > Changelog: > _ILCreateFolder(), _ILCreateValue(): check for NULL in AlternateFileName cAlternateFileName is an array, it cannot possibly be NULL. -- Alexandre Julliard [EMAIL PROTECTED]

Re: shell32 patch 26

2004-03-27 Thread Martin Fuchs
> > /* process the IDList */ > > -if ((sei_tmp.fMask & SEE_MASK_INVOKEIDLIST) == SEE_MASK_INVOKEIDLIST) > /*0x0c*/ > > +if (sei_tmp.fMask & SEE_MASK_INVOKEIDLIST) /* 0x0c: includes > SEE_MASK_IDLIST */ > > If you only care about the MASK_IDLIST flag you should check just that > flag

Re: shell32 patch 26

2004-03-26 Thread Alexandre Julliard
"Martin Fuchs" <[EMAIL PROTECTED]> writes: > /* process the IDList */ > -if ((sei_tmp.fMask & SEE_MASK_INVOKEIDLIST) == SEE_MASK_INVOKEIDLIST) /*0x0c*/ > +if (sei_tmp.fMask & SEE_MASK_INVOKEIDLIST) /* 0x0c: includes SEE_MASK_IDLIST */ If you only care about the MASK_IDLIST flag you s

Re: shell32 patch 24

2004-03-26 Thread Jakob Eriksson
Martin Fuchs wrote: On 25.03.2004 22:31:59 Dimitrie O. Paun wrote: On Thu, 25 Mar 2004, Martin Fuchs wrote: OK, now the patch including the "return S_FALSE". :-) This is why small patches are better than large ones :) Mhh - if you had accepted the whole patch, I would not hav

Re: shell32 patch 24

2004-03-25 Thread Martin Fuchs
On 25.03.2004 22:31:59 Dimitrie O. Paun wrote: > On Thu, 25 Mar 2004, Martin Fuchs wrote: > > > OK, now the patch including the "return S_FALSE". :-) > > This is why small patches are better than large ones :) Mhh - if you had accepted the whole patch, I would not have forgotten to include this

Re: shell32 patch 24

2004-03-25 Thread Dimitrie O. Paun
On Thu, 25 Mar 2004, Martin Fuchs wrote: > OK, now the patch including the "return S_FALSE". :-) This is why small patches are better than large ones :) -- Dimi.

Re: shell32 patch 24

2004-03-24 Thread Martin Fuchs
On 25.03.2004 01:00:25 Alexandre Julliard wrote: > "Martin Fuchs" <[EMAIL PROTECTED]> writes: > > > + if (This->bDirty) > > + return S_OK; > > + > > return NOERROR; > > S_OK and NOERROR mean the same thing, so this doesn't look quite > right. Sure. It should be S_FALSE instead of NOE

Re: shell32 patch 24

2004-03-24 Thread Alexandre Julliard
"Martin Fuchs" <[EMAIL PROTECTED]> writes: > + if (This->bDirty) > + return S_OK; > + > return NOERROR; S_OK and NOERROR mean the same thing, so this doesn't look quite right. -- Alexandre Julliard [EMAIL PROTECTED]

Re: shell32 patch 23e

2004-03-24 Thread Alexandre Julliard
"Martin Fuchs" <[EMAIL PROTECTED]> writes: > + /* Add double quotation marks unless we already have them > (e.g.: "%1" %* for exefile) */ > + if (res != out && *(res - 1) == '"') > + { > + strcpyW(res, cmd); > +

Re: shell32 patch 23 d [correction]

2004-03-15 Thread Alexandre Julliard
"Martin Fuchs" <[EMAIL PROTECTED]> writes: > Alexandre - is there any thing wrong with this patch? Yes there has to be something wrong, you create a sei_tmp structure but you never actually use it. I'm not sure what your intent was. -- Alexandre Julliard [EMAIL PROTECTED]

Re: shell32 patch 23 d [correction]

2004-03-14 Thread Martin Fuchs
Alexandre - is there any thing wrong with this patch? > Changelog: > - expand environment strings in command, parameter and directory strings of > ShellExecuteExW32() My follow-up patches are blocked by this not yet committed patch.

Re: shell32 patch 12

2004-02-07 Thread Mike McCormack
Martin Fuchs wrote: I see you found and could solve the problem. If I understand correctly, this says, this part of IE installation uses PIDLs, which are illegal in some way? Is this the normal behaviour or only result of for example some mis-convifured registry entries? Actually, I added the ERR(

Re: shell32 patch 12

2004-02-07 Thread Martin Fuchs
Hello, > > This patch broke the installation of IE6. > > > > When running the command below during installation of IE6, a pathname is > > scribbled over the stack... > > > > C:\windows\inf\unregmp2.exe /Shortcuts /IE5 /RegExts > > > > Any ideas why? I see you found and could solve the problem

Re: shell32 patch 12

2004-02-07 Thread Mike McCormack
This patch broke the installation of IE6. When running the command below during installation of IE6, a pathname is scribbled over the stack... C:\windows\inf\unregmp2.exe /Shortcuts /IE5 /RegExts Any ideas why? Mike Martin Fuchs wrote: This patch is based on work of Ge van Geldorp <[EMAIL PRO

Re: shell32 patch 20

2004-01-25 Thread Jakob Eriksson
Dmitry Timoshkov wrote: "Jakob Eriksson" <[EMAIL PROTECTED]> wrote: Depending on how you define break, that argument can be used to stop almost any patch to Wine, if the goal happens to be cross compilation. What way will you decide to go, if in the next Platform SDK release Microsoft wil

Re: shell32 patch 20

2004-01-25 Thread Jakob Eriksson
Dmitry Timoshkov wrote: "Rolf Kalbermatter" <[EMAIL PROTECTED]> wrote: I was under the impression that it was desirable to cross compile as many dlls as possible in different environments. Yes, that's a desirable task, but only if does not require to break Wine source accomplishing it.

Re: shell32 patch 20

2004-01-25 Thread Dmitry Timoshkov
"Jakob Eriksson" <[EMAIL PROTECTED]> wrote: > Depending on how you define break, that argument can be used to stop > almost any patch to Wine, if the goal happens to be cross compilation. What way will you decide to go, if in the next Platform SDK release Microsoft will remove some of the existin

Re: shell32 patch 20

2004-01-24 Thread Dmitry Timoshkov
"Rolf Kalbermatter" <[EMAIL PROTECTED]> wrote: > I was under the impression that it was desirable to cross compile as many > dlls as possible in different environments. Yes, that's a desirable task, but only if does not require to break Wine source accomplishing it. > shell32 has currently only

Re: shell32 patch 20

2004-01-24 Thread Dmitry Timoshkov
"Steven Edwards" <[EMAIL PROTECTED]> wrote: > Well I would agree with you if it was just not defined in Mingw but > there is nothing we can do about getting Microsoft to add it to the > PSDK. If we want to build/test on MS_VC what are we to do? Microsoft provided headers and libraries usually mis

Re: shell32 patch 20

2004-01-24 Thread Rolf Kalbermatter
"Dmitry Timoshkov" <[EMAIL PROTECTED]> >"Martin Fuchs" <[EMAIL PROTECTED]> wrote: > >> > > Changelog: >> > > - don't link directly to NTDLL; use MultiByteToWideChar() instead of >> > RtlCreateUnicodeStringFromAsciiz() >> > >> > Why do you need that? >> >> RtlCreateUnicodeStringFromAsciiz() is ne

Re: shell32 patch 20

2004-01-24 Thread Steven Edwards
Hi Dmitry, --- Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > > RtlCreateUnicodeStringFromAsciiz() is neither present in MinGW nor > in PSDK. > > That doesn't justify the change IMO. There are lots of places in Wine > using that construct, and it's much more convenient and avoids code > duplication

Re: shell32 patch 20

2004-01-24 Thread Dmitry Timoshkov
"Martin Fuchs" <[EMAIL PROTECTED]> wrote: > > > Changelog: > > > - don't link directly to NTDLL; use MultiByteToWideChar() instead of > > RtlCreateUnicodeStringFromAsciiz() > > > > Why do you need that? > > RtlCreateUnicodeStringFromAsciiz() is neither present in MinGW nor in PSDK. That doesn'

Re: shell32 patch 20

2004-01-24 Thread Martin Fuchs
> > Changelog: > > - don't link directly to NTDLL; use MultiByteToWideChar() instead of > RtlCreateUnicodeStringFromAsciiz() > > Why do you need that? RtlCreateUnicodeStringFromAsciiz() is neither present in MinGW nor in PSDK. Regards, Martin

Re: shell32 patch 20

2004-01-23 Thread Dmitry Timoshkov
"Martin Fuchs" <[EMAIL PROTECTED]> wrote: > Changelog: > - don't link directly to NTDLL; use MultiByteToWideChar() instead of > RtlCreateUnicodeStringFromAsciiz() Why do you need that? -- Dmitry.

shell32 patch 10

2004-01-20 Thread Martin Fuchs
Changelog: - implemented SHGetRealIDL() Index: pidl.c === RCS file: /home/wine/wine/dlls/shell32/pidl.c,v retrieving revision 1.96 diff -u -p -d -r1.96 pidl.c --- pidl.c 18 Jan 2004 22:08:46 - 1.96 +++ pidl.c 20 Ja

Re: Shell32 patch from ROS 2

2004-01-16 Thread Marcelo Duarte
OK. Relatively to files shlexec.c (ShellExecute, etc) I will do it. Others with you ;) - Original Message - From: "Steven Edwards" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 16, 2004 2:15 PM Subject: Re: Shell3

Shell32 Patch 1.1

2004-01-14 Thread Steven Edwards
This patch replaces the prior patch. The ReactOS changelog wasnt very good and Martin pointed out that I missed the spec file. Changelog: "Martin Fuchs" <[EMAIL PROTECTED]> Implement RestartDialog and RestartDialogEx __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Sig