[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Delphi Wrapper for MSADO15.DLL

Posted on 2006-11-20
1
Medium Priority
?
391 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 500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

872 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