Article View: comp.sys.next.programmer
Article #55Re: Can DBKit and dblib coexist?
From: nevin
Date: Thu, 29 Oct 1992 17:02
Date: Thu, 29 Oct 1992 17:02
35 lines
1847 bytes
1847 bytes
In article <1992Oct28.213117.4427@news.acns.nwu.edu> parod@baris.acns.nwu.edu (Bill Parod) writes: > > Is it possible to maintain a connection to Sybase with dblib in an app that > also uses the DBKit? > > Thanks, > Bill Parod Yes, however... There appears to be no way to get at the DBPROC structure that the Sybase adaptor uses to establish the database connection. Therefore, you will need to connect to the database twice-- once for the dblib stuff, and again for the DBKIT stuff. And that leads to the next problem... There appears to be no way to access the complete login information (including password) that the DBDatabase object used to make a connection. Therefore, the dblib connection will have to be made first, and the login information that it used can then be used to programmatically initiate the DBKIT connection. And that leads to the next problem... For the reasons outlined above, you won't be able to use the DBKIT's automatic login panel. You'll have to write your own login panel for dblib (although this is very straight-forward and easy to do). -- Nevin Pratt, Digital Technology, Int'l Orem, Ut NeXTmail preferred, but ONLY at my REAL email address: nevin@dtint.dtint.com -- --- root root@dtint.dtint.com Digital Technology Int. (801)226-2984 500 W. 1200 South, Orem UT, 84057 FAX (801) 226-8438
Technical Details
Message-ID:
<1992Oct29.170215.24786@dtint.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtint!usenetReferences:
<1992Oct28.213117.4427@news.acns.nwu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!dtint!usenet From: nevin@dtint.dtint.com Subject: Re: Can DBKit and dblib coexist? Message-ID: <1992Oct29.170215.24786@dtint.uucp> Sender: usenet@dtint.uucp Reply-To: nevin@dtint.dtint.com Organization: Digital Technology, International References: <1992Oct28.213117.4427@news.acns.nwu.edu> Date: Thu, 29 Oct 92 17:02:15 GMT Lines: 35