🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
4 messages
4 total messages Started by Bill Parod Wed, 28 Oct 1992 21:31
Can DBKit and dblib coexist?
#35
Author: Bill Parod
Date: Wed, 28 Oct 1992 21:31
6 lines
549 bytes
Is it possible to maintain a connection to Sybase with dblib in an app that  
also uses the DBKit?

Thanks,
Bill Parod 
Re: Can DBKit and dblib coexist?
#39
Author: Kevin Hegg
Date: Thu, 29 Oct 1992 00:07
13 lines
910 bytes
In article 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. I have found DBKit to be useful for some things, but too restrictive for others. The
only way around this is to go straight into DB-Library.
---
Kevin Hegg                       Internet: e3ukjh@fnma.com
Fannie Mae                       Phone: (202) 752-7813
Interested in buying a next machine
#40
Author: Amiran Eliashvili
Date: Thu, 29 Oct 1992 01:47
17 lines
1146 bytes
Hi all 

	I am interested in buying a next machine , possibly a used
one, or a new one would be fine too . Would anyone care to give me an
idea of how much I am about to spend on a particular model and what
does the package entail (software and hardware). Thanks.



Is anyone interested in selling their Next Machine?

Please respond to ae2@cunixa.cc.columbia.edu.
Thanks
/amiran

P.S. Is there an educational discount for the Next?
Re: Can DBKit and dblib coexist?
#55
Author: nevin
Date: Thu, 29 Oct 1992 17:02
35 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads