Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread EDBSession
Mon, Dec 24 2007 6:16 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

When you emerge from the Christmas digestive torpor

Since the EDBSession has a few more properties and events than the old DBISAM one I'm planning on replacing my old MakeDBISAMSession utiliity function with

function CloneEDBSession(CloneFrom: TEDBSession; Connect: boolean = True; AutoName: boolean = True; CloneEvents: boolean = False): TEDBSession;
begin
Result := TEDBSession.Create(nil);
Result.AutoSessionName := AutoName;
Result.ForceBufferFlush := CloneFrom.ForceBufferFlush;
....
....
end;

I can't see any reason why not but will this be OK for use in threads?


Roy Lambert
Thu, Dec 27 2007 3:39 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I can't see any reason why not but will this be OK for use in threads? >>

Sure, no problem.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image