[so] [tema2] [Win] MapViewOfFile - The handle is invalid.
Valentin Dobrota
valydo at gmail.com
Tue Apr 5 02:14:07 EEST 2011
check this stuff:
lui OpenFileMapping trebuie sa-i dai ca parametru fix numele din command +
_shm
DIE-ul de la OpenFileMaping trebuie cu NULL
2011/4/5 VLAD TUDOSE <vlad_tudose at yahoo.com>
> Salut,
>
> Am si eu urmatoarea problema, gateway-ul primeste primul mesaj si il
> trimite catre server-ul corespunzator, server-ul primeste mesajul correct
> iar cand face MapViewOfFile imi da eroare "The handle is invalid".
> Chestia asta mi se intampla la fiecare test la primul mesaj primit de
> server.
>
> Mentionez ca am avut si eu problema cu 49 bytes primiti in loc de 48 la
> ReadFile si am rezolvat-o asteptand 49 bytes in ReadFile.
>
> Programul il rulez in masina virtuala.
> Astept o sugestie de tratare/identificare a problemei.
>
> Tudose Vlad.
>
> _______________________________________________
> http://elf.cs.pub.ro/so/wiki/resurse/lista-discutii
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20110405/32c34aa6/attachment.htm>
More information about the so
mailing list