In incercarea de a lua tema3 de pe linux si a o muta pe windows cu cat
mai putine modificari am gasit o functie care face mapview of file la o
anumita adresa ( MapViewOfFileEx(mfd_ram, FILE_MAP_READ, 0, i*ps, ps,
pstart) ) insa imi retrneaza mereu eroarea ERROR_INVALID_ADDRESS 487
0x1E7 Attempt to access invalid address.<br>
<br>Mentionez ca adresa la care incerc sa fac maparea am obtinut-o in
urma unui VirtualAlloc(0, vp*ps, MEM_RESERVE, PAGE_READWRITE |
PAGE_GUARD)) deci e valida<br><br>Functia am luat-o de aici: <a href="http://msdn.microsoft.com/en-us/library/aa366763%28VS.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa366763(VS.85).aspx</a><br>
<br>Help :)