Share Memory Functions

 

The shared memory allows the exchange of data between scripts running on in separate processes or in the same process. The data can even be shared between scripts running in separate user accounts on the same system. The data sharing is accomplished by reserving an area in the system's virtual memory paging file (pagefile.sys). The maximum shared memory data size is 4088 bytes. The data written to shared memory can be an integer, a floating-point number, an ANSI string, a Unicode string, or a binary buffer.

 

 

Function list

By type

Alphabetically

 

 

 

SharedMemClose( mem-name )

Closes a shared memory instance.

SharedMemOpen( mem-name, global )

Creates or opens a shared memory instance.

SharedMemRead( mem-name,  timeout )

Reads data from shared memory.

SharedMemWrite( mem-name, data,  timeout  )

Writes data to shared memory.