Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Adding datamodule to Dbsrvr
Sat, Jan 6 2007 5:17 AMPermanent Link

kk aw
I need to add a datamodule to Dbsrvr for my application.

Do I create it in the Mainform in the Initialize procedure as:

Application.Createform(TDatamodule1, Datamodule1);

Is this thread safe or should do this somewhere else?

KK Aw
Mon, Jan 8 2007 3:46 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

KK,

<< I need to add a datamodule to Dbsrvr for my application. >>

For each session thread to use or for the main application only ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Jan 8 2007 6:37 PMPermanent Link

KK Aw
Tim,

For each session thread.

KK Aw
Tue, Jan 9 2007 8:32 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

KK,

<< For each session thread. >>

How do you expect to access the data module ?  In a server-side procedure,
or someplace else ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Jan 9 2007 8:53 AMPermanent Link

kk aw
Tim,

Server-side procedure.

KK Aw
Wed, Jan 10 2007 5:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

KK,

<< Server-side procedure. >>

In that case, just create the data module at the beginning of the
server-side procedure and then free it when the server-side procedure is
done (try..finally block).

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Jan 11 2007 2:16 AMPermanent Link

KK Aw
Tim,

Thanks.  Guess I should also define a session private directory as well.

KK Aw
Image