Click here to Skip to main content
15,895,667 members
Articles / Database Development / SQL Server

Accessing the Borland Database Engine (BDE) from Visual C++

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
17 Nov 19996 min read 225.9K   3.5K   45  
Microsoft Visual C++ v4.x Comaptable IDAPI32 Import Library
-----------------------------------------------------------

Borland International is not responsible for the use of 
these files.  Use at your own risk.  Borland does not 
support these files.


Files contained in ZIP
----------------------
README.TXT   --  This file
IDAPI32M.LIB --  VC4 compatible import library
MS-IDAPI.H   --  Header file for use with VC4


Instructions
------------
1) include ms-idapi.h into your C / CPP file(s) containing 
   the Dbi functions.  Do not use idapi.h directly; only
   ms-idapi.h.

2) add idapi32m.lib to your project


Differences between VC4 and BC++ BDE32 compiled EXEs
----------------------------------------------------
The only difference between the two compiled EXEs is
that the BC++ EXE will look in the registry to find 
the path to the IDAPI32 core DLLs;  The VC4 EXE will
need to have the IDAPI32 core DLLs in the path 
statement to find the DLLs.

There are no other differences

No need to call GetProcAddress, LoadLibrary, etc.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
President Starpoint Software Inc.
United States United States
Bob Pittenger is founder and President of Starpoint Software Inc. He holds a B.A. degree from Miami University, M.S. and Ph.D. degrees from Purdue University, and an MBA from Xavier University. He has been programming since 1993, starting with Windows application development in C++/MFC and moving to C# and .NET around 2005 and is a .NET Microsoft Certified Professional Developer.

Bob is the author of two books:
Billionaire: How the Ultra-Rich Built Their Fortunes Through Good and Evil and What You Can Learn from Them
and
Wealthonomics: The Most Important Economic and Financial Concepts that Can Make You Rich Fast.
Visit http://www.billionairebook.net for more information.

Comments and Discussions