Re: cmd:batch: Check for a context is added

2007-07-25 Thread Anatoly Lyutin
Ann & Jason Edmeades wrote: I test that and found the previous email was very slightly wrong. I've coded and sent my new patch into wine-patches as it corrects an identical trap to what you were seeing plus fixes the a runs b runs c case. Can you please try that and confirm it resolves the proble

RE: cmd:batch: Check for a context is added

2007-07-24 Thread Ann & Jason Edmeades
>I did a simple test here and it works, although I would like to test 2 >scnarios: >a calls b which runs c >a runs b runs c I test that and found the previous email was very slightly wrong. I've coded and sent my new patch into wine-patches as it corrects an identical trap to what you were seeing

RE: cmd:batch: Check for a context is added

2007-07-24 Thread Ann & Jason Edmeades
>I run a program which uses a *.bat files via "wine wineconsole >--backend=user start program.bat" and this program runs well but after >exit it program fails The context should be valid as it was allocated a few lines higher up. To be fair, there's no checking the LocalAlloc worked, but you wo

Re: cmd:batch: Check for a context is added

2007-07-24 Thread Anatoly Lyutin
Ann & Jason Edmeades wrote: We need to check context before than refer to context -> skip_rest . But we have just referred to it higher up, and I didn't think it was valid to get into this routine without a context. Whats the problem you are trying to fix? I run a program which uses

Re: cmd:batch: Check for a context is added

2007-07-23 Thread Ann & Jason Edmeades
> We need to check context before than refer to context -> skip_rest . But we have just referred to it higher up, and I didn't think it was valid to get into this routine without a context. Whats the problem you are trying to fix? Jason