Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

FileMappingMBS.DeleteFileOnClose as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes Yes Yes Yes No
Function: Whether to delete the file in the destructor.
Notes:
Useful if a tempory file is used as backstore.
(Read and Write property)

Feedback, Comments & Corrections

FileMappingMBS.DeleteSharedMemory as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes No Yes Yes No
Function: Whether to delete the shared memory object on closing.
Notes:
True by default after Creating a shared memory object.

On Windows the shared memory objects exist as long as someone uses them.
On Mac OS X they live until you kill them even if your application is not running.
(Read and Write property)

See also:

Feedback, Comments & Corrections

FileMappingMBS.File as FolderItem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes Yes Yes Yes No
Function: The file reference used for the backstore.
Notes: (Read only property)

Feedback, Comments & Corrections

FileMappingMBS.isWriteable as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes Yes Yes Yes No
Function: Whether opened/created the file mapping with write permission.
Notes:
Opening files for reading only in order to read inside gives the operation system some optimization possibilities.
(Read only property)

Feedback, Comments & Corrections

FileMappingMBS.Lasterror as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes Yes Yes Yes No
Function: The last error code.
Notes:
On Windows typically a Windows error code.
On Linux and Mac OS X typically 0 for success and other values for errors.
(Read and Write property)

Feedback, Comments & Corrections

FileMappingMBS.LasterrorString as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 No Yes No Yes, Windows only No
Function: The string for the last error code.
Notes:
Only implemented for Windows.
Returns "" on any error.
(Read only property)

Feedback, Comments & Corrections

FileMappingMBS.Name as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes Yes Yes Yes No
Function: The name used for a named shared memory object.
Notes: (Read only property)

Feedback, Comments & Corrections

FileMappingMBS.SharedMemorySize as Int64
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 18.3 Yes Yes Yes Yes No
Function: Queries shared memory object size.
Notes:
Only valid for shared memory objects in handle.
(Read only property)

Feedback, Comments & Corrections

FileMappingMBS.ShrinkFileOnClose as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Filemapping and Shared Memory MBS Util Plugin 10.5 Yes Yes Yes Yes No
Function: Whether to call ShrinkFile automatically from the destructor.
Notes:
Default false.
(Read and Write property)

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Util Plugin.




Links
MBS FileMaker blog