CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2000
    Location
    Ottawa, Canada
    Posts
    469

    Can I get .tlb or .odl file of my ActiveX DLL project?

    Thank you.


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: Can I get .tlb or .odl file of my ActiveX DLL project?

    You can get the Tlb file selecting "remote component" from project->properties->Component and compiling the project

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
    and all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

    The Rater
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Sep 2001
    Location
    Philadelphia,PA,USA
    Posts
    46

    Re: Can I get .tlb or .odl file of my ActiveX DLL project?

    Use the Ole View's "View type lib" Menu command to point to the DLL and then obtain its corresponding IDL file. (I dont know how you can get corresponding ODL file but I feel it shouldnt matter to you,isnt it?)
    You can then use MIDL compiler to get its correspondinh .TLB file.
    However a VB based DLL can be used at almost all places where you might require a .TLB file.
    You can even use it with "#import" satement in VC++.


    Biplab

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