Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

SharedMemory.SetValue

Sets shared memory value.

Component Version macOS Windows Linux Server iOS SDK
SharedMemory 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "SharedMemory.SetValue"; Name; Value )   More

Parameters

Parameter Description Example
Name The name of the shared memory object. "test"
Value The text value to store. "Hello World"

Result

Returns OK or error.

Description

Sets shared memory value.
MBS Plugin provides SharedMemory functions to store UTF-8 text in shared memory, so one process can set it and other can read it, e.g. two versions of FileMaker Pro or two server processes.
The value is lost when computer restarts, but stays when application quits.

Examples

Store text in shared memory:

MBS( "SharedMemory.SetValue"; "test"; "Hello World" )

See also

Blog Entries

Created 2nd February 2020, last changed 2nd February 2020


SharedMemory.GetValue - SharingPanel.AddFilePath

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat