Home > Archive > Clipper > September 2005 > Re: swpruncmd() - limit of calls
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: swpruncmd() - limit of calls
|
|
| Andrzej P. Wozniak 2005-09-16, 6:55 pm |
| Osoba podpisana jako suv2@mail.ru <suv2@mail.ru> w artykule
<news:1126776347.577533.322010@g43g2000cwa.googlegroups.com> pisze:
> clipper 5.2e
> blinker - any
> OS - any
>
> for i:=1 to 200
> swpruncmd("dir *.txt")
> next
>
> result - gpf after appr. 100 calls.
>
> Yours suggestion?
The problem has nothing to do with Clipper or Blinker, I think. There seems
to be similar problem with specific chipsets or graphic cards (SiS, Nvidia).
Just open a Dos box (running cmd.exe or command.com), go to some folder
containing many files (try Windows system folder) and use dir command many
times - you shall have your GPF very soon.
--
Andrzej P. Wozniak uszer@pochta.onet.pl (swap z<->h in address)
| |
| Joe Wright 2005-09-17, 9:55 pm |
| Andrzej P. Wozniak wrote:
> Osoba podpisana jako suv2@mail.ru <suv2@mail.ru> w artykule
> <news:1126776347.577533.322010@g43g2000cwa.googlegroups.com> pisze:
>
>
>
>
> The problem has nothing to do with Clipper or Blinker, I think. There seems
> to be similar problem with specific chipsets or graphic cards (SiS, Nvidia).
> Just open a Dos box (running cmd.exe or command.com), go to some folder
> containing many files (try Windows system folder) and use dir command many
> times - you shall have your GPF very soon.
>
With Clipper 5.3b and Blinker 1.0 on Windows XP Pro..
N = 200
for i = 1 to N
run dir gpf.prg
?? i
next
...runs perfectly as does, in C..
#include <stdio.h>
#include <stdlib.h>
#define N 200
int main(void) {
int i;
for (i = 0; i < N; ++i) {
system("dir gpf.c");
printf("%d\n", i);
}
return 0;
}
--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
|
|
|
|
|