Re: kernel32: Intialise 16-bit stack to zero.

2008-01-17 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > Alexandre Julliard wrote: >> Initializing the first frame should be enough. > > I can't work out what the size of the first frame is though. Is it > sizeof(STACK16FRAME)? Yes; NtCurrentTeb()->WOW32Reserved is set to point to the initial stack frame at

Re: kernel32: Intialise 16-bit stack to zero.

2008-01-17 Thread Robert Shearman
Alexandre Julliard wrote: > Robert Shearman <[EMAIL PROTECTED]> writes: > >> Otherwise dbghelp could sometimes get confused and think it should >> switch to 16-bit mode. >> This results in messages such as the following when warn or tracing >> for the heap channel is turned on: >> fixme:dbghelp:

Re: kernel32: Intialise 16-bit stack to zero.

2008-01-17 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > --- > dlls/kernel32/kernel_main.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > Otherwise dbghelp could sometimes get confused and think it should > switch to 16-bit mode. > This results in messages such as the following when warn