Solved

Using SQLDatabases w Delphi 2.0 or 3.0

Posted on 1997-10-09
4
142 Views
Last Modified: 2010-04-04
1 - I would like to know if Delphi 3.0 's "native drivers" are stand alone or if we still need to use & configure BDE on every PC's where the software is being installed.?

2- If I have to configure BDE on every PCs, is there a way to do that automatically? (by programmation)

3- What are the files i have to copy (or distribute) with me .EXE?

4- (optionnal) where can i find docs on programming my own component for MS SQLServer direct TCP/IP querrying? (doh!)
0
Comment
Question by:pilotes
  • 2
4 Comments
 
LVL 3

Expert Comment

by:Pegasus100397
ID: 1347101
Pilotes,

I utilized ODBC drivers alot (they have sped up MUCH in recent versions) and general pre-configure the BDE BEFORE distribution with the Aliases I need that point to the correct ODBC drivers.

Since the BDE installs on the user's computer pre-configured then it's simply a matter to install the necessary ODBC drivers.

Hope this helps.

Pegasus
0
 

Author Comment

by:pilotes
ID: 1347102
I need some technical details if possible!
0
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 50 total points
ID: 1347103
Pilotes,

Ok, I'll take the questions one by one then:

on (1)  YES, Normally you will have to configure the BDE on each user's machine (Aliases) by running the BDECFG32.EXE program. There may be a way to do this automatically but I have not had occasion to do it. In the meantime, just write down the aliases, BDE stuff that your program uses and set up the other machines to the same values.

on (2) MAYBE? I'm not aware of a way to programmatically set up the BDE at runtime. There are makers of third-party database drivers that are included with the .EXE program that make this an unecessary step.

on (3) Very few! If you use the InstallShield program to package your program up (and installed using the SETUP.EXE program) then pretty much everything is included in the install package that Installshield makes. If you use ODBC drivers, they will have to be installed seperately.

on (4), check the DCHAT.DPR program in the Program Files\Borland\Delphi 2.0\Demos\Tcp directory. It should give you some tips on how to use the TCP component to talk with SQL Server. See also, "Named Pipes" in the Win32s documentation.

Hope this helps
Pegasus
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1347104
Bought This Question.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now