Location: Symbol Reference > Classes > TJwIPCStream Class > TJwIPCStream.Create Constructor
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwIPCStream.Create Constructor
Pascal
constructor Create(Name: TJwString; ReadonlyAccess: Boolean = false; FileSize: Int64 = -1);
Parameters 
Description 
Name: TJwString 
The name of the MMF which is to be created or which the user wants to connect to  
ReadonlyAccess: Boolean = false 
Specifies whether the user wants readonly access to the MMF or not  
FileSize: Int64 = -1 
Default = -1. Specifies the size of the MMF. Must be a multiple of 4096 otherwise Create rounds to the next multiple of 4096. If FileSize is less than zero, the MMF is not created but the stream connects to the in Name specified MMF. 

Create Creates an instance of the TJwIPCStream class 

 

Exceptions 
Description 
EJwsclFileMappingException 
This exception is thrown if an error has occured in TJwCustomMappedStream.CreateMapView
TJwIPCStream 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!