How to use existing interfaces in  type libraries in other type libraries as the type of new properties.

Posted on 2005-04-10
Last Modified: 2013-12-03
There are many type libraries introducing lots of interfaces like _connection in ADODB_TLB.pas and I want to use such interfaces as the type of a property of an interface in a new type library.
But I have not found any way to add these existing interfaces to the available types in the corresponding combo box in the type library editor. I know interfaces in the referenced type libraries will show up in the type combo box but I don't know where to introduce these referenced type libraries. I would be very grateful if someone help me to manage the task.
Question by:Mohamadi
    1 Comment
    LVL 17

    Accepted Solution


    1. Select the project on the left
    2. open 'Uses' tab on the right
    3. right-click and select 'Show All Type Libraries' from the pop-up menu
    4. Check the TLB you want to add
    5. Right-click again and select 'Show Selected' in order to see the selected TLBs only
    6. Select your interface property - now you can change its type to one of the newly added interfaces.

    Is that what you're looking for?

    Regards, Geo

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    732 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