CMemMapFileAn MFC class to encapsulate Memory Mapped Files | |
Download |
CMemMapFile Ranking & Summary
Advertisement
- License:
- Freeware
- Publisher Name:
- Naughter Software
- Operating Systems:
- Windows All
- File Size:
- 30 KB
CMemMapFile Tags
- MFC class MFC class memory mapped video Encapsulate Program Encapsulate MFC wrapper class MFC Button Class Memory Mapped File Mapped File Address mapped memory organize mapped drive encapsulate HFONT encapsulate scientific method encapsulate lua state Mapped Texture file explore ipsec vpn visual free linux theme markin software psp doom download printer preview gimp player mahjong deluxe ensenasoft digigr8 dv128 camcorder dvix player for poze cu pitbuli registry cleaner keygen CPK converter
CMemMapFile Description
CMemMapFile was designed to be an MFC class to encapsulate Memory Mapped Files. Memory mapping is a powerful mechanism Win32 provides to implement shared memory and also to access files though a simple memory pointer without having to implement your own home brewed buffering mechanisms. As an example its as simple as calling void* lpData = mmf.Open(); CharUpperBuff(static_cast(lpData), static_cast(mmf.GetLength())); to convert a file (of any length) to upper case. Areas where you might find this of interest include very large database files with fixed records, audio processing, string operations and image processing. The other side of memory mapped files is to implement shared memory. As you will probably know, Win32 puts each process into its own address space, thus making it impossible to pass ordinary pointers across process boundaries. With memory mapped files you get back this very useful mechanism.
CMemMapFile Related Software