🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #540

Session Object

#540
From: Rob Wokanovicz
Date: Mon, 02 Jul 2001 20:16
14 lines
1565 bytes
Hi All,
    Probably an easy question, but it has me stumped at the moment.  I have
an app that uses a single db object. This object uses the default session
object.  The app will be used in a multi-threaded environment so I want to
set up my own session object with auto name turned on.  I put the session
object in at design time, set the auto name, and associate the db object
with it.  I can set the session to active, and set the connected property of
the db to true, and everything sems fine.  But when I run, I get the message
'Unknown Database. Alias:XXX'.   Can someone kick me in the right direction
?
     TIA,
      Rob

I am using Delphi 5 Ent w/ patch on a Windows NT 4.0 workstation.
Technical Details
Message-ID: <3b40d6bd_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,89aa8d40d38e510c,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-07-02 13:21:19 PST
From: "Rob Wokanovicz" <rwokanov@gcre.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Session Object
Date: Mon, 2 Jul 2001 16:16:36 -0400
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 208.227.150.10
Message-ID: <3b40d6bd_2@dnews>
X-Trace: dnews 994105021 208.227.150.10 (2 Jul 2001 13:17:01 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews