Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HX fails at anonymous memory mapping (DOSX)

posted by Japheth(R) Homepage, Germany (South), 25.11.2010, 08:30

> HX fails at anonymous memory mapping

[snip]

> // Note: hardcoded size.
> HANDLE map = CreateFileMapping( 0, NULL, PAGE_READWRITE, 0, 6, NULL );

I don't think that 0 as first parameter will trigger "anonymous" memory mapping. Actually, 0 is a valid file handle. Please make yourself familiar with the Win32 API!

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
15110 Postings in 1359 Threads, 247 registered users, 14 users online (0 registered, 14 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum