[so] [tema3]Windows
Daniel Baluta
daniel.baluta at gmail.com
Sun May 3 16:50:40 EEST 2009
2009/5/3 mmdumi <mmdumi at gmail.com>:
> Salut,
> Am incercat sa folosesc MapViewOfFileEx dar primesc eroarea: Access is
> denied.
>
> Rulex functia astfel:
> MapViewOfFileEx (map_ram, FILE_MAP_ALL_ACCESS, pageSize, 0, pageSize,
> memory);
> Sper ca am setat bine valorile pentru high / low. Nu am prea inteles cum
> vine asta in windows.
Cred ca i-ai pus tocmai invers.
[high | low] -> [0 | pageSize]
>
> Am tot schimbat parametri la functia de mai sus dar rezultatul a fost
> acelasi sau ceva cu "invalid address".
> Ce trebuie facut ca sa functioneze maparea? La CreateFileMapping sunt
> necesari niste parametri speciali ?
>
> Multumesc,
> --
> Dumitrache Mihai - Marian
>
>
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>
>
More information about the so
mailing list