Solved

Delphi Wrapper for MSADO15.DLL

Posted on 2006-11-20
1
347 Views
Last Modified: 2010-04-05
Hi, Experts.

I'm trying to find a wrapper unit for MSADO15.DLL. I don't want to use the "Import Type Library" option of Delphi because it generates a large code and I want something smaller and easier to understand.

Thanks.
0
Comment
Question by:loodney
1 Comment
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 125 total points
ID: 17985722
Use the ADOInt library in that case. It's part of Delphi anyways. You can also import the type library but WITHOUT the component wrapper. (Just uncheck the checkbox.) That should make it a bit smaller. And finally, unless you're searching for a unit that wraps around the type library unit you won't fiind anything more easy than what Delphi generates. Basically, the imported type library unit that Delphi generates is a bare-bones wrapper.

Btw, after importing the type library you can always edit it within Delphi and remove the things you don't need. Clearing up the uses-clause for example since without the component wrapper you'll only have to use Windows, ActiveX and Variants in the interface part.

The imported type library is in general just a collection of constants and interface definitions anyway.
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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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