ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Process functions / Shared memory area functions
  • Managing the share mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
fMemExist (Function)
In french: fMemExiste
Checks the existence of a shared memory zone.
Example
IF fMemExist("ServiceDialogZone", shareGlobal) = False THEN
Error("Unable to dialog with the service. " + ...
"Check whether the service was started.")
RETURN
END
Syntax
<Result> = fMemExist(<Name of memory area> [, <Share>])
<Result>: Boolean
  • True if the shared memory zone exists,
  • False otherwise.
<Name of memory area>: Character string
Name of the memory area to create or open. This name must be the same in the different applications that access the zone.
The zone is automatically created if it does not exist.
<Share>: Optional Integer constant
Mode for sharing the memory area between the user sessions:
shareGlobalThe zone is shared between all the applications of all the computer sessions.
shareUser
(Default value)
The zone is shared between all the applications of the user session.
Remarks

Managing the share mode

The share mode differs according to the versions of the operating systems:
  • Linux, Windows 2000 and earlier: there is a single space for creating the share memory zone, the <Share> parameter is ignored.
  • Windows XP: the <Share> parameter is effective if the service for quick change of user is enabled, otherwise it is ignored.
  • Windows Vista and later: the <Share> parameter is managed. The services and the users are located in a different space. To share a memory area between a service and an application in a user session, the shareGlobal constant must be used.
  • In Terminal Server: the <Share> parameter is managed. Each session opened on the Terminal Server has a different memory space. The applications started in the same TSE session can share a memory area created with the shareUser constant. Several applications located in different sessions can share a memory zone created by the shareGlobal constant.
Component: wd290std.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/02/2023

Send a report | Local help