[so] [tema3]Windows

mmdumi mmdumi at gmail.com
Sun May 3 16:14:26 EEST 2009


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.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090503/29f0b3a0/attachment.htm>


More information about the so mailing list