Re: Question about contents of STARTUPINFO structure and non WinMain entry points

2005-11-13 Thread Matheus Izvekov
On 11/11/05, James Liggett <[EMAIL PROTECTED]> wrote: > Yeah, it works. :) Thanks! > > James > > On Fri, 2005-11-11 at 21:17 +0100, Eric Pouech wrote: > > > I tried modifying the RTL_USER_PROCESS_PARAMATERS settings after > > > creation in dlls/ntdll/thread.c (in thread_init, right after the > > >

Re: Question about contents of STARTUPINFO structure and non WinMain entry points

2005-11-11 Thread James Liggett
Yeah, it works. :) Thanks! James On Fri, 2005-11-11 at 21:17 +0100, Eric Pouech wrote: > > I tried modifying the RTL_USER_PROCESS_PARAMATERS settings after > > creation in dlls/ntdll/thread.c (in thread_init, right after the > > structure is allocated,) but that didn't work. So I put the change i

Re: Question about contents of STARTUPINFO structure and non WinMain entry points

2005-11-11 Thread Eric Pouech
I tried modifying the RTL_USER_PROCESS_PARAMATERS settings after creation in dlls/ntdll/thread.c (in thread_init, right after the structure is allocated,) but that didn't work. So I put the change in dlls/kernel/process.c, at the end of build_initial_environment, and that worked. But it seems a li

Re: Question about contents of STARTUPINFO structure and non WinMain entry points

2005-11-08 Thread James Liggett
On Tue, 2005-11-08 at 09:43 +0100, Eric POUECH wrote: > you likely have to fix dlls/ntdll/thread.c (in thread_init) so that > the RTL_USER_PROCESS_PARAMETERS has the correct flag set (or > alternatively, in dlls/kernel/process.c, in for example > build_initial_environment) I tried modifying the RTL

Re: Question about contents of STARTUPINFO structure and non WinMain entry points

2005-11-08 Thread Eric POUECH
ndows native pgm A+ > Message du 08/11/05 07:11> De : "James Liggett" <[EMAIL PROTECTED]>> A : "Wine Mailing List" > Copie à : > Objet : Question about contents of STARTUPINFO structure and non WinMain entry points> > Hi,> First, apologies for th

Question about contents of STARTUPINFO structure and non WinMain entry points

2005-11-07 Thread James Liggett
Hi, First, apologies for the length. It's quite a complex issue: A few days ago someone sent to the list asking why a program he'd written on WinXP runs under WineDbg but not under plain wine. Over the weekend I debugged the program and found out that his program doesn't use the standard WinMain e