Matrix1 Utility Plug-ins

# MAP SHARED MEM TO BANK

Syntax

MAP SHARED MEM TO BANK Shared Name, Bank Number, Preferred Size

Description

This command can be use to create or attach to an area of shared memory. The shared memory is available system-wide using the name specified. If the shared memory already exists, then the preferred size parameter is ignored, and the bank is automatically opened to the actual size of the shared memory. Your code should always check to ensure that the size of the bank is large enough for its use. Within Windows, the size used when creating a shared memory area is rounded up to the nearest 4k (i.e. requesting a share of 1 byte in size will create a shared of 4k).

Go back to ...

Matrix1Util_01 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011