|
|
|
|
|
fMemExist (Function) In french: fMemExiste Checks the existence of a shared memory area. IF fMemExist("ZoneDialogueService", shareGlobal) = False THEN
Error("Impossible de dialoguer avec le service. " + ...
"Vérifier que le service a bien été démarré.")
RETURN
END
Syntax
<Result> = fMemExist(<Name of memory area> [, <Share>])
<Result>: Boolean - True if the shared memory area 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: | | shareGlobal | The 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's only one memory zone creation space, so the <Partage> parameter is ignored.
- Windows XP: the <Partage> parameter is effective if the Quick User Change service is active, otherwise it is ignored.
- Windows Vista and above: the <Partage> 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 <Partage> 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 area created by the shareGlobal constant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|