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 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
22752 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum