Solved

Delphi Wrapper for MSADO15.DLL

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Read/Write registry value from HKEY_LOCAL_MACHINE 5 172
Firewall issues 6 85
find a node in VST 2 47
LAN or WAN ? 11 63
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 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

20 Experts available now in Live!

Get 1:1 Help Now