Solved

Installing and creating Aliases for BDE 2.5 16-bit

Posted on 1998-06-08
3
149 Views
Last Modified: 2010-08-05
Hello,

I need to install a Delphi 1.0 application along with BDE 2.5 16-bit. The installation must run under Win 3.x/95/NT.

I do not have access to Delphi itself and corporate policy dictates that I must use InstallShield (in my particular case version 5 Pro). So basically I have to roll my own (using C/C++) or somehow access the BDE API from InstallShield's InstallScript.

Information from from both Inprise's site and InstallShield's have not addressed this issue. I need to know what the BDE api's are, from which DLL do I get them and any other information I can get about this particular situation (perhaps even examples using C/C++ - I am using Visual C++ 1.5/4.2)

Any information is appreciated.

Thanks.

Jose Negron
The Depository Trust Company
Tel: 212-855-8419
Email: Jose_Negron@dtc.org
0
Comment
Question by:jnegron
  • 2
3 Comments
 
LVL 1

Expert Comment

by:michaue
ID: 1351507
What do you mean by 'So basically I have to roll my own (using C/C++)'.

0
 
LVL 1

Accepted Solution

by:
michaue earned 100 total points
ID: 1351508
I'm not sure if the following is relevant for the version of the BDE you are using ...

Creating and Alias using C

Example 1: Add a STANDARD database alias to the configuration file.

fDbiAddAlias1("TestAlias","PATH:C:\\BDE\\EXAMPLES\\TABLES");

DBIResult fDbiAddAlias1(char *AliasName, char *AliasPath)
{
  DBIResult rslt;
  rslt = Chk(DbiAddAlias(NULL, AliasName, NULL, AliasPath, TRUE));
  return rslt;
}
0
 

Author Comment

by:jnegron
ID: 1351509
'Roll my own' means that I have to write a program that will actually create the alias. I managed to get ahold of some information concerning the BDE API but and it even gives templates for C programs but it makes references to files such as IDAPI.H which I simply cannot find. The information I received comes from (I think) Delphi 3 docs. I have to do this with BDE 2.5 for an application written in Delphi 1. The .exe to create the alias must run under Win 3.x/95/NT.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wininet read php file from internet issue 6 81
add combobox item based on numbers 9 122
Using idhttp to login to instagram 2 76
URL for downloading Google Chrome for Win XP 2 120
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

919 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

21 Experts available now in Live!

Get 1:1 Help Now