Re: GetCommandLine

2002-10-17 Thread Andreas Mohr
On Thu, Oct 17, 2002 at 12:37:31PM -0700, Alexandre Julliard wrote: > Andreas Mohr <[EMAIL PROTECTED]> writes: > > > Not quoting the arguments is a legal way of doing it, but I guess in order > > to be 150% compliant with Windows, we might want to think of a way > > to reintroduce quotes for progr

Re: GetCommandLine

2002-10-17 Thread Alexandre Julliard
Andreas Mohr <[EMAIL PROTECTED]> writes: > Not quoting the arguments is a legal way of doing it, but I guess in order > to be 150% compliant with Windows, we might want to think of a way > to reintroduce quotes for programs we start. > (IIRC Alexandre said it's a bit difficult, but should be doabl

Re: GetCommandLine

2002-10-17 Thread Andreas Mohr
On Thu, Oct 17, 2002 at 02:36:41PM -0400, [EMAIL PROTECTED] wrote: > This patch pretty much fixes it. It still isn't quite right, although > this probably isn't the same problem. In windows, GetCommandLine returns > a string with quotes around it, while in wine, only the

Re: GetCommandLine

2002-10-17 Thread Alexandre Julliard
[EMAIL PROTECTED] writes: > This patch pretty much fixes it. It still isn't quite right, although > this probably isn't the same problem. In windows, GetCommandLine returns > a string with quotes around it, while in wine, only the sub process command > line has quotes aro

Re: GetCommandLine

2002-10-17 Thread steve . lustbader
>[EMAIL PROTECTED] writes: > >> This patch pretty much fixes it. It still isn't quite right, although >> this probably isn't the same problem. In windows, GetCommandLine returns >> a string with quotes around it, while in wine, only the sub process command &g

Re: GetCommandLine

2002-10-17 Thread Uwe Bonnes
>>>>> "steve" == steve lustbader <[EMAIL PROTECTED]> writes: steve> This patch pretty much fixes it. It still isn't quite right, steve> although this probably isn't the same problem. In windows, steve> GetCommandLine returns a stri

Re: GetCommandLine

2002-10-17 Thread steve . lustbader
This patch pretty much fixes it. It still isn't quite right, although this probably isn't the same problem. In windows, GetCommandLine returns a string with quotes around it, while in wine, only the sub process command line has quotes around it (ie, in windows the first windo

Re: GetCommandLine

2002-10-17 Thread Alexandre Julliard
[EMAIL PROTECTED] writes: > I uploaded a zip of both the source and the executables to > http://www.lustbader.net/getcmdlinetest/ (it's a modification of the "Hello > World" app generated by MSVC automatically). Run MainProc.exe and choose > Help, About, which will run the other process (make sur

Re: GetCommandLine

2002-10-17 Thread steve . lustbader
>>>>> "steve" == steve lustbader <[EMAIL PROTECTED]> writes: > >steve> I have an app that starts 2 other processes using CreateProcess. >steve> When one of these new proceses calls GetCommandLine, an empty >steve> string is returne

Re: GetCommandLine

2002-10-16 Thread Uwe Bonnes
>>>>> "steve" == steve lustbader <[EMAIL PROTECTED]> writes: steve> I have an app that starts 2 other processes using CreateProcess. steve> When one of these new proceses calls GetCommandLine, an empty steve> string is returned (the corr

GetCommandLine

2002-10-16 Thread steve . lustbader
I have an app that starts 2 other processes using CreateProcess. When one of these new proceses calls GetCommandLine, an empty string is returned (the correct string is returned for the original process). I tried looking into it, but I think this part of Wine is a little over my head. Any