PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Managing the share mode
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 Zone> [, <Share>])
<Result>: Boolean
  • True if the shared memory zone exists,
  • False otherwise.
<Name of Memory Zone>: Character string (with quotes)
Name of the memory zone 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 zone 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 zone 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 zone created with the shareUser constant. Several applications located in different sessions can share a memory zone created by the shareGlobal constant.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Linux wd230std.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment