CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    326

    [RESOLVED] tlb or dll

    Hello,

    If I open the project's proterty. Some reference types are dll, the other are tlb.
    But if I look at the path, both types files exist with the same name.
    Why?

    e.g.

    xxx.dll and xxx.tlb both are in the c:\aaa\bbb.

    Thanks

  2. #2
    Join Date
    Jul 2006
    Location
    Germany
    Posts
    3,725

    Re: tlb or dll

    A dll is a file which contains compiled executable code in callable functions. You declare these functionsa within a VB program to be able to call them.
    A tlb is a type library which declares interface conventions to objects and functions in a dll and makes VB aware of them, so as you can use them in your program text. Intellisense will then show object properties while writing code. If a dll has atlb file for it, this tlb file contains all necessary declarations to use the functions in the dll with the same name. If you make a reference to a tlb, all necessary definitions should be included in your program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured