View Single Post
  #1   Spotlight this post!  
Unread 02-02-2005, 07:18
sunil bansal sunil bansal is offline
Registered User
no team
 
Join Date: Feb 2005
Location: India
Posts: 2
sunil bansal is an unknown quantity at this point
Exclamation Delhpi Program Query

I have this method.

constructor TIPCEvent.Create(AOwner: TIPCThread; const Name: string;
Manual: Boolean);
begin
inherited Create(Name, Manual);
FOwner := AOwner;
FSharedMem := TSharedMem.Create(Format('%s.Data', [Name]), SizeOf(TIPCEventInfo));
FEventInfo := FSharedMem.Buffer;
end;

I just want to know what "Format('%s.Data', [Name])" will return.
Suppose Name is "Sunil". Whether it will return Sunil.Data or something else..