Solved

Delphi Wrapper for MSADO15.DLL

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

624 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