On 04/19/11 18:04, Alexandre Julliard wrote: > This doesn't make sense to me, why do you need a VirtualAlloc in there? It's not needed. > And what about the limits in the TEB? StackLimit is updated by virtual_handle_stack_fault before _resetstkoflw exits. Should I update it explicitly in _resetstkoflw function? Cheers, Piotr