Re: request for kernel32/toolhelp windows testrun

2007-10-12 Thread Detlef Riekenberg
On Do, 2007-10-11 at 08:45 +0200, Marcus Meissner wrote: > int num = 0; > +intpos1 = -1 , pos2 = -1; You mix SPACE and TAB. Thanks (The updated test works in w2k here) -- By by ... Detlef

Re: request for kernel32/toolhelp windows testrun

2007-10-11 Thread Hans Leidekker
On Thursday 11 October 2007 08:45:40 Marcus Meissner wrote: > Hmm, windows has more processes running of course. > > Can you revert the above and use this simpler check? > (and try running it some times to see randomness, if any.) This version succeeds repeatedly, while starting several new proce

Re: request for kernel32/toolhelp windows testrun

2007-10-10 Thread Marcus Meissner
On Tue, Oct 09, 2007 at 11:20:49AM +0200, Hans Leidekker wrote: > On Monday 08 October 2007 23:25:06 Marcus Meissner wrote: > > > BUT I would like to test run it on windows first, so can someone > > please run following patch against a real Windows? > > toolhelp.c:145: Test failed: new process at

Re: request for kernel32/toolhelp windows testrun

2007-10-09 Thread Hans Leidekker
On Monday 08 October 2007 23:25:06 Marcus Meissner wrote: > BUT I would like to test run it on windows first, so can someone > please run following patch against a real Windows? toolhelp.c:145: Test failed: new process at position 26 in snapshot, expected 1. toolhelp.c:146: Test failed: this proc

request for kernel32/toolhelp windows testrun

2007-10-08 Thread Marcus Meissner
Hi, I have a game (Last Chaos USA by AeriaGames) which does not start up the main game due to a bug in its toolhelp snaphot handling. It does: h = CreateToolhelp32Snapshot(); Process32First(h, &x); while (Process32Next(h,&x)) { /* check x */ } So i