Solved

Delphi Wrapper for MSADO15.DLL

Posted on 2006-11-20
1
339 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 302
delphi exception 7 64
Delphi Form ownership 4 85
Magic Software info 18 130
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 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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

786 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