Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing and creating Aliases for BDE 2.5 16-bit

Posted on 1998-06-08
3
Medium Priority
?
158 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 300 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

661 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