View Single Post
  #2   Spotlight this post!  
Unread 02-02-2005, 08:11
ttedrow's Avatar
ttedrow ttedrow is offline
Herding electrons
AKA: Tim Tedrow
FRC #0281 (EnTech)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Greenville, SC
Posts: 165
ttedrow will become famous soon enoughttedrow will become famous soon enough
Re: Delhpi Program Query

Quote:
Originally Posted by sunil bansal
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..
Thanks for your interest, but this is NOT a Delphi programming forum. Please try http://delphi.about.com/ for your question
__________________
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC

KD4EGM

FRC 281 Greenvillains
Infected with the FIRST virus in 2000

Yes, Chute Door!!!