[pso] [Tema2][Windows] modul solutie.sys
Marius Poke
mariusp55 at yahoo.com
Fri Apr 23 13:00:44 EEST 2010
Salut,
Am o problema cu modulul solutie.sys. Se blocheaza cand face write, mai exact in functia DoWriteFile din test:
while (1) {
if (!WriteFile(fd, &buffer[from], size-from, &n, NULL))
return -1;
if (n+from == size)
return 0;
from+=n;
fprintf(stderr, "from %i \n", from);
}
imi afiseaza mereu from 0.
Functia este apelata pentru com1 la al doilea set de teste (com1 este modulul solutie.sys).
Vreo idee?
Mersi,
Marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/pso.html/attachments/20100423/58cb1c21/attachment.htm>
More information about the pso
mailing list